mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-11-14 19:34:58 -05:00
Component string limit is larger than default
This commit is contained in:
parent
edace8900f
commit
867e5e2bb6
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue