getProtocolManager null 1.17 build.
TheLimeGlass opened this issue ยท 1 comments
Describe the bug
ProtocolLibrary.getProtocolManager() returns null.
To Reproduce
- Use ProtocolLibrary.getProtocolManager() on plugin onEnable()
- See error when trying to add a listener because ProtocolLibrary.getProtocolManager() is null.
Cannot invoke "com.comphenix.protocol.ProtocolManager.addPacketListener(com.comphenix.protocol.events.PacketListener)" because the return value of "com.comphenix.protocol.ProtocolLibrary.getProtocolManager()" is null
Yes the plugin has ProtocolLib as a dependency and loads after ProtocolLib.
Expected behavior
ProtocolLib setup the protocol manager.
Version Info
Paper-"28aacb4" (MC: 1.17)
ProtocolLib v4.7.0-SNAPSHOT-b521
https://pastebin.com/raw/xJm1G3Fd