java.lang.NoSuchMethodException
flaxeneel2 opened this issue ยท 2 comments
Describe the bug
The plugin errors (for no apparent reason) whenever the first player joins
To Reproduce
Steps to reproduce the behavior:
- Use Ziggurat in your plugin
Expected behavior
It should not error
Version Info
https://haste.flaxeneel2.net/iYORtmbJ5CktFjxSvrSQMi8eplnb1FIDXuLZcRv33r8GV5B7Gh.properties
Additional context
I did try editing the ziggurat src to try and catch the error, but it failed. I also looked at the plugin structure and as far as I can tell, none of the protocolLib was packed into the jar (like the common-errors page suggested it might be)
The line that is causing the error:
PacketContainer packet = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.PLAYER_INFO);
...
packet.getPlayerInfoDataLists().write(0, Collections.singletonList(playerInfoData));
However, the code does work perfectly (The tab is shown properly). This is the only error i get, and no matter what I do I can't seem to get rid of it.
The code works perfectly so this is all i need to somehow solve
That one works, thank you.