diff options
-rw-r--r-- | src/main/java/org/bukkit/command/SimpleCommandMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/command/SimpleCommandMap.java b/src/main/java/org/bukkit/command/SimpleCommandMap.java index e047009e..01452b69 100644 --- a/src/main/java/org/bukkit/command/SimpleCommandMap.java +++ b/src/main/java/org/bukkit/command/SimpleCommandMap.java @@ -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); |