aadnk / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
288 stars 92 forks source link

[1.19.4] ProtocolLibrary.getProtocolManager() returning null #206

Open lollolcheese123 opened 1 year ago

lollolcheese123 commented 1 year ago

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