ProtocolLib

3M Downloads

PacketAdapter: java.lang.IllegalArgumentException: 'PROTOCOL-0' is already in use

BriceFab opened this issue ยท 0 comments

commented

Hey,

I think it's a bug since ProtocolLib v4.5.1:

  • When I send the command /reload, I got this error "java.lang.IllegalArgumentException: 'PROTOCOL-0' is already in use.
  • I've try to check if my custom PacketAdapter is already register. But no success.

Server version: paperspigot 1.8.8
It's working perfectly with ProtocolLib v4.2.1 or before reload plugins (on the server start).

The error:
image

My code:
image
(PingListener extends of PacketAdapter)

Thank you,
Brice