diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-02 09:20:16 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-02 09:20:16 +0000 |
commit | 1a2c220ac30f843b8ba9e1cf1fba078be21267be (patch) | |
tree | ff51dde3de622c1ce47952229efbfbde88da8f37 /src | |
parent | 00d4e1a2e0c60226e28bf2f5fa7e4d7eff2bf4c2 (diff) | |
download | bukkit-1a2c220ac30f843b8ba9e1cf1fba078be21267be.tar bukkit-1a2c220ac30f843b8ba9e1cf1fba078be21267be.tar.gz bukkit-1a2c220ac30f843b8ba9e1cf1fba078be21267be.tar.lz bukkit-1a2c220ac30f843b8ba9e1cf1fba078be21267be.tar.xz bukkit-1a2c220ac30f843b8ba9e1cf1fba078be21267be.zip |
Revert "fallback code for command lookup"
This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/command/SimpleCommandMap.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/org/bukkit/command/SimpleCommandMap.java b/src/main/java/org/bukkit/command/SimpleCommandMap.java index 21e1cfa9..01452b69 100644 --- a/src/main/java/org/bukkit/command/SimpleCommandMap.java +++ b/src/main/java/org/bukkit/command/SimpleCommandMap.java @@ -74,12 +74,6 @@ public final class SimpleCommandMap implements CommandMap { boolean isRegisteredCommand = (target != null); if (isRegisteredCommand) { target.execute(sender, sentCommandLabel, args); - return true; - } - target = knownCommands.get(sentCommandLabel.substring(1)); - isRegisteredCommand = (target != null); - if (isRegisteredCommand) { - target.execute(sender, sentCommandLabel, args); } return isRegisteredCommand; } |