mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 17:53:17 +08:00
Fix small issue with command parsing
This commit is contained in:
parent
7bac86ed41
commit
495ca5c16c
@ -79,7 +79,7 @@ public class PlayerCommands {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Execute
|
// 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));
|
cmd.execute(player, msg.substring(len));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user