Sending an empty packet at EncryptionRequest to client
Opened this issue ยท 0 comments
Describe the bug
An empty packet is being send to the client after the Login Start Packet. Are you trying to cancel the Encryption Request Packet or something, but sending an empty packet per accident instead? The packet length will be sent as 0 to the client. Vanilla Minecraft handles this normally and seems to ignore the empty packet.
To Reproduce
Steps to reproduce the behavior:
- Download ProtocolLib
- Download PacketListener.jar (https://workupload.com/file/7L6wHrqhfXe) (SRC: https://pastebin.com/UH3ehka1)
- Reproduce the clientside minecraft networking
- See the error on the client-side
Expected behavior
An Encryption Request Packet will be sent after Login Start.
Screenshots
This happens on our client side:
(The error occurs at reading the packet id)
This happens on our server side:
This happens without the PacketListener Plugin:
(Works)
Version Info
https://pastebin.com/JAY2Fgiy
Additional context
As you can see, this error only persists on listening for all packets but there must be a cause in ProtocolLib for that.