Когда игрок подключается с сервера лобби на сервер выживания на котором включён белый список, игрок должен остаться в лобби и ему должно писать то что 'На сервере включён белый список' в чат, а почему-то когда игрок заходит на сервер, его кикает с прокси с ошибкой в консоли
Помогите пожалуйста!
Код:
[19:10:56 ERROR]: [connected player] 123659874 (/195.46.190.130:58407): exception encountered in com.velocitypowered.proxy.connection.client.ClientPlaySessionHandler@54f1393a
java.lang.IllegalStateException: Not connected to server!
at com.velocitypowered.proxy.connection.client.ConnectedPlayer.ensureAndGetCurrentServer(ConnectedPlayer.java:248) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.connection.client.ClientPlaySessionHandler.handle(ClientPlaySessionHandler.java:253) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.packet.chat.legacy.LegacyChat.handle(LegacyChat.java:121) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.connection.MinecraftConnection.channelRead(MinecraftConnection.java:143) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.tryDecode(MinecraftDecoder.java:92) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at com.velocitypowered.proxy.protocol.netty.MinecraftDecoder.channelRead(MinecraftDecoder.java:61) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[core.jar:3.2.0-SNAPSHOT (git-19abb909-b265)]
at java.lang.Thread.run(Thread.java:833) [?:?]
Вам необходимо зарегистрироваться для просмотра изображений-вложений
Помогите пожалуйста!