adde0109 / Proxy-Compatible-Forge

Works with: 1.16.5 - 1.18.2 - 1.19.x - 1.20.x
Other
34 stars 14 forks source link

MAX_DATA_LENGTH too big #3

Closed adde0109 closed 1 year ago

adde0109 commented 2 years ago

Issue

[14:51:54] [Netty Epoll Server IO #6/ERROR] [minecraft/NettyPacketEncoder]: Error encoding packet io.netty.handler.codec.EncoderException: String too big (was 33301 bytes encoded, max 32767) at net.minecraft.network.PacketBuffer.func_211400_a(PacketBuffer.java:357) ~[?:?] {re:mixin,re:classloading} at net.minecraft.network.PacketBuffer.func_180714_a(PacketBuffer.java:351) ~[?:?] {re:mixin,re:classloading} at net.minecraft.network.status.server.SServerInfoPacket.func_148840_b(SServerInfoPacket.java:33) ~[?:?]

Probable cause

MAX_DATA_LENGTH value is too big in HandshakeDataTransmitter.java at line 26