diff --git a/src/main/java/emu/grasscutter/commands/PlayerCommands.java b/src/main/java/emu/grasscutter/commands/PlayerCommands.java index 73681491c..9123cbd94 100644 --- a/src/main/java/emu/grasscutter/commands/PlayerCommands.java +++ b/src/main/java/emu/grasscutter/commands/PlayerCommands.java @@ -79,7 +79,7 @@ public class PlayerCommands { return; } // Execute - int len = Math.min(first.length() + 1, msg.length()); + int len = Math.min(split[0].length() + 1, msg.length()); cmd.execute(player, msg.substring(len)); } }