ProtocolLib

3M Downloads

Issue with MAP_CHUNK packets

Jpx3 opened this issue ยท 0 comments

commented

Describe the bug
When using an 1.8 Server with latest ViaVersion and latest ProtocolLib, connected through a BungeeCord proxy, on a 1.9 - 1.12 client, the connection terminates when listeners to packets of type MAP_CHUNK have been registered on ProtocolLib.

Expected behavior
We don't want the connection to terminate

Screenshots
Serverconsole:
[23:45:04 WARN]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.nio.channels.ClosedChannelException

Bungeecordconsole:
23:37:47 [INFO] [DarkAndBlue] disconnected with: DecoderException : java.lang.IndexOutOfBoundsException: readerIndex(0) + length(1) exceeds writerIndex(0): UnpooledSlicedByteBuf(ridx: 0, widx: 0, cap: 0/0, unwrapped: PooledUnsafeDirectByteBuf(ridx: 2874, widx: 2890, cap: 4096)) @ io.netty.handler.codec.MessageToMessageDecoder:98

Version Info
ProtocolLib Version: ProtocolLib v4.5.1
Bukkit Version: 1.8.8-R0.2-SNAPSHOT
Server Version: git-TacoSpigot-"95870a93" (MC: 1.8.8)
Java Version: 1.8.0_275