Hello. Code below causes java.nio.channels.ClosedChannelException in the console if the player tries to connect to the server using the wrong version (e. g. server 1.11.2, client 1.12-pre6):
[2017-06-05 23:41:35 | Netty Server IO #1] 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: null
at io.netty.channel.AbstractChannel$AbstractUnsafe.write(...)(Unknown Source) ~[server.jar:git-Spigot-ac83d69-fe3ca95]
Hello. Code below causes
java.nio.channels.ClosedChannelException
in the console if the player tries to connect to the server using the wrong version (e. g. server 1.11.2, client 1.12-pre6):Full error:
Java 1.8 x64, Spigot 1.11.2 (also happens on 1.12-pre6), ProtocolLib v4.3.0-SNAPSHOT-b370