diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-01 18:12:31 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-01 18:12:46 +0000 |
commit | 02d1de8c3cd6de9135e1c0a1157d606def2bd655 (patch) | |
tree | fd5afcfd7c68725998b575cd9e700efd5dfc9cd8 /src | |
parent | 61f62597623d1d384b583f6934a34dc486cb3983 (diff) | |
download | bukkit-02d1de8c3cd6de9135e1c0a1157d606def2bd655.tar bukkit-02d1de8c3cd6de9135e1c0a1157d606def2bd655.tar.gz bukkit-02d1de8c3cd6de9135e1c0a1157d606def2bd655.tar.lz bukkit-02d1de8c3cd6de9135e1c0a1157d606def2bd655.tar.xz bukkit-02d1de8c3cd6de9135e1c0a1157d606def2bd655.zip |
Don't delete the first char of the command passed
Diffstat (limited to 'src')
-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); |