mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 09:47:28 +00:00
Fix small issue with command parsing
This commit is contained in:
parent
bca8ef34bd
commit
e7a3e8252d
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user