[BUG] kicks players on 1.21.4
quiquelhappy opened this issue · 3 comments
Describe the bug
due to packetevents not being up to date
To Reproduce
use spigot 1.21.4, place any block
Expected behavior
No response
Operating System
Server Software
spigot --rev 1.21.4
Server Version
Not Listed
Proxy Type
Bungeecord
Plugin List
-
Server logs
[14:14:59] [Netty epoll Worker #2/INFO] [com.velocitypowered.proxy.connection.client.ConnectedPlayer]: [connected player] Tuzik (/ip:55466) has disconnected: В вашем подключении произошла внутренняя ошибка. [14:14:59] [Netty epoll Worker #2/ERROR] [com.velocitypowered.proxy.connection.MinecraftConnection]: [connected player] Tuzik (/ip:55466): exception encountered in com.velocitypowered.proxy.connection.client.ClientPlaySessionHandler@ba85863 io.netty.handler.codec.DecoderException: com.github.kaspiandev.antipopup.libs.packetevents.api.exception.PacketProcessException: Failed to map the Packet ID 60 to a PacketType constant. Bound: SERVER, Connection state: PLAY, Server version: 1.21.2 at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:289) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at com.nickuc.antibot.ΠθκονθΛλαχςΔ.channelRead(:31) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at com.nickuc.antibot.ΛδνδπΛζψηξαρΨ.channelRead(:29) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] Caused by: com.github.kaspiandev.antipopup.libs.packetevents.api.exception.PacketProcessException: Failed to map the Packet ID 60 to a PacketType constant. Bound: SERVER, Connection state: PLAY, Server version: 1.21.2 at com.github.kaspiandev.antipopup.libs.packetevents.api.event.ProtocolPacketEvent.<init>(ProtocolPacketEvent.java:90) ~[?:?] at com.github.kaspiandev.antipopup.libs.packetevents.api.event.PacketReceiveEvent.<init>(PacketReceiveEvent.java:31) ~[?:?] at com.github.kaspiandev.antipopup.libs.packetevents.api.event.simple.PacketPlayReceiveEvent.<init>(PacketPlayReceiveEvent.java:33) ~[?:?] at com.github.kaspiandev.antipopup.libs.packetevents.api.util.EventCreationUtil.createReceiveEvent(EventCreationUtil.java:38) ~[?:?] at com.github.kaspiandev.antipopup.libs.packetevents.velocity.handlers.PacketEventsDecoder.read(PacketEventsDecoder.java:54) ~[?:?] at com.github.kaspiandev.antipopup.libs.packetevents.velocity.handlers.PacketEventsDecoder.decode(PacketEventsDecoder.java:80) ~[?:?] at com.github.kaspiandev.antipopup.libs.packetevents.velocity.handlers.PacketEventsDecoder.decode(PacketEventsDecoder.java:40) ~[?:?] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88) ~[server.jar:3.4.0-SNAPSHOT (git-965db127-b454)] ... 39 more
Try using this for now. I tested it, and everything works.
[AntiPopup v10.1]