diff --git a/src/main/java/emu/grasscutter/commands/PlayerCommands.java b/src/main/java/emu/grasscutter/commands/PlayerCommands.java index 31f820136..4e8c2e57e 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)); } }