-
Bug
-
Resolution: Fixed
-
Minecraft 1.13-pre6, Minecraft 1.13-pre8, Minecraft 1.13
-
Java 1.8.0_51 64 Bit
3072MB Memory Allocated
CPU: AMD fx-8350 8 core @4.0GHz
GPU: AMD RX 480 8GB
Win10 Enterprise N v1803
Multiplayer only
-
Confirmed
The bug
While entering certain commands in a command block on a multiplayer server the client is kicked:
Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (265 > 256)
Apparently not every string causes this, for example 32500 * "a", or /say with a similar large text works fine.
How to reproduce
- Enter the following command
execute if entity @e[type=!minecraft:player,name=Apprentice,tag=!Apprentice] as @e[type=!minecraft:player,name=Apprentice,tag=!Apprentice] at @s run advancement grant @p[distance=..10] only elkia:starwars/sithapprenticeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- Place the cursor right behind the last character ("e") type a character, for example another "a"
- is duplicated by
-
MC-134962 Commandblock with a long "execute if score" command kicks the player
- Resolved
-
MC-135507 Command Blocks not using the CommandChainLength value
- Resolved
-
MC-135746 Command block kicks due to too many characters.
- Resolved
- testing discovered
-
MC-134892 PacketBuffer.writeString's max length is in bytes, while readString is in characters
- Resolved