Revert "fallback code for command lookup"

This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352.
This commit is contained in:
Dinnerbone 2011-02-02 09:20:16 +00:00
parent 00d4e1a2e0
commit 1a2c220ac3

View File

@ -72,12 +72,6 @@ public final class SimpleCommandMap implements CommandMap {
Command target = knownCommands.get(sentCommandLabel);
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);
}