Closed egor-erm closed 2 years ago
I use gophertunnel as a proxy server. When a player dies, an error message arrives (*packet.Event: 2 unread bytes left: 0x0a00). I found a mismatch of PlayerDiedEventData with the original protocol. After the correction, no errors occur.
https://github.com/CloudburstMC/Protocol/blob/f92336f2433875a1116c103dc0100b92cd260e2b/bedrock/bedrock-common/src/main/java/com/nukkitx/protocol/bedrock/data/event/PlayerDiedEventData.java
I use gophertunnel as a proxy server. When a player dies, an error message arrives (*packet.Event: 2 unread bytes left: 0x0a00). I found a mismatch of PlayerDiedEventData with the original protocol. After the correction, no errors occur.
https://github.com/CloudburstMC/Protocol/blob/f92336f2433875a1116c103dc0100b92cd260e2b/bedrock/bedrock-common/src/main/java/com/nukkitx/protocol/bedrock/data/event/PlayerDiedEventData.java