noClassDefError
lavaking46 opened this issue · 4 comments
- [✔️ ] This issue is not solved in a development build
Describe the bug
I'm trying to use protocolLib so that I can use packets to hide player armor. When I load my plugin(1.19) it gives a noClassDefError for PacketListener.
To Reproduce
Steps to reproduce the behavior:
Create simple plugin with something like this in your onEnable method
ProtocolManager manager = ProtocolLibrary.getProtocolManager();
manager.addPacketListener(new PacketAdapter(this, ListenerPriority.NORMAL, PacketType.Play.Server.ENTITY_EQUIPMENT) {
@Override
public void onPacketSending(PacketEvent event) {
if (equipmentPacketProcessor == null) return;
equipmentPacketProcessor.process(event);
}
});
Expected behavior
I expected to add a new packetlistener that would allow me to listen for packets that I would then overwrite.
Version Info
https://pastebin.com/p0t8Jw0i