--- a/net/minecraft/network/protocol/game/ServerboundCommandSuggestionPacket.java
+++ b/net/minecraft/network/protocol/game/ServerboundCommandSuggestionPacket.java
@@ -19,7 +_,7 @@
 
     private ServerboundCommandSuggestionPacket(FriendlyByteBuf buffer) {
         this.id = buffer.readVarInt();
-        this.command = buffer.readUtf(32500);
+        this.command = buffer.readUtf(2048); // Paper
     }
 
     private void write(FriendlyByteBuf buffer) {
