mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Don't delete the first char of the command passed
This commit is contained in:
parent
61f6259762
commit
02d1de8c3c
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public final class SimpleCommandMap implements CommandMap {
|
|||
*/
|
||||
public boolean dispatch(CommandSender sender, String commandLine) {
|
||||
String[] args = commandLine.split(" ");
|
||||
String sentCommandLabel = args[0].substring(1);
|
||||
String sentCommandLabel = args[0];
|
||||
|
||||
args = Arrays.copyOfRange(args, 1, args.length);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue