Fix small issue with command parsing

This commit is contained in:
Melledy 2022-04-18 09:59:57 -07:00
parent 7bac86ed41
commit 495ca5c16c
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}