Component string limit is larger than default

This commit is contained in:
Camotoy 2023-02-12 11:36:08 -05:00
parent edace8900f
commit 867e5e2bb6
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -321,7 +321,7 @@ public class MinecraftCodecHelper extends BasePacketCodecHelper {
}
public Component readComponent(ByteBuf buf) {
return DefaultComponentSerializer.get().deserialize(this.readString(buf));
return DefaultComponentSerializer.get().deserialize(this.readString(buf, 262144));
}
public void writeComponent(ByteBuf buf, Component component) {