retrooper / packetevents

Precision meets performance—a powerful tool for mastering Minecraft packet manipulation with speed and finesse.
GNU General Public License v3.0
564 stars 152 forks source link

1.21(.1) players can't join in bungeecord. #983

Closed ImZowi closed 2 months ago

ImZowi commented 2 months ago

Describe the bug When 1.21.1 players join to the server, this get kicked with "EncoderException : java.lang.IndexOutOfBoundsException: writerIndex(1673) + minWritableBytes(1) exceeds maxCapacity(1673): PooledSlicedByteBuf(ridx: 0, widx: 1673, cap: 1673/1673, unwrapped: PooledUnsafeDirectByteBuf(ridx: 1673, widx: 1673, cap: 1673)) @ io.netty.handler.codec.MessageToByteEncoder:125" because packetevents 2.5.0 in bungeecord. This only occurs with 1.21(.1) version, any other versions can join without problems.

Software brand Bungeecord: NullCordX 3.8.7 Backend: Purpur 1.20.4

Plugins Plugins: Apollo, AutoGeyserUpdate, Bungee-Reconnect, ChatSentinel, CommandForward, EaglerXBungee, Floodgate-bungee, LiteBans, LuckPerms-bungee, Matrix, nLogin, nuvotifier, packetevents-bungee, SkinsRestorer, tebex.

How To Reproduce Join with any client with the version 1.21(.1) to the server.

Giuseppecri commented 2 months ago

I had the same problem as you you have to download an older version of bungeecord