Problem Description
Whenever I try to use ProtocolLib's ProtocolLibrary.getProtocolManager() code it always gives me a NullPointerException
API method(s) used
ProtocolLibrary.getProtocolManager
.createPacket(PacketType.Play.Server.BLOCK_BREAK_ANIMATION);
Expected behavior
Obviously I expected to get the ProtocolManager class object, to be able to use ProtocolLib
Additional context
I am using IntellijIdea
Problem Description
Whenever I try to use ProtocolLib's
ProtocolLibrary.getProtocolManager()code it always gives me aNullPointerExceptionAPI method(s) used
ProtocolLibrary.getProtocolManager.createPacket(PacketType.Play.Server.BLOCK_BREAK_ANIMATION);Expected behavior
Obviously I expected to get the
ProtocolManagerclass object, to be able to use ProtocolLibAdditional context
I am using IntellijIdea