ProtocolLib icon indicating copy to clipboard operation
ProtocolLib copied to clipboard

PacketReceiving - Send player message disconnect player

Open PinoOG opened this issue 3 years ago • 0 comments

  • [ ] This issue is not solved in a development build

Describe the bug I simply tried your example code in READ.md but this method makes the player disconnect(crash). "event.getPlayer().sendMessage("Bad manners!");" Basically, sending a message to the player in this event, make him disconnect, with lost connection.

https://pastebin.com/1c7Eh36S

To Reproduce Mentioned in Bug Description

Expected behavior Just send a message to the player

Version Info https://pastebin.com/3c8jqsZk

PinoOG avatar Sep 04 '22 00:09 PinoOG