mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 14:33:09 +01:00
Revert "fallback code for command lookup"
This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352. By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
1899891b6f
commit
477b359f13
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue