3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

Fix accidential breaking change not allowing aliases to be overridden.

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-07-30 06:03:29 -04:00
Ursprung 306221a92f
Commit 7f1ee77a69

Datei anzeigen

@ -112,8 +112,6 @@ public class VelocityCommandManager implements CommandManager {
dispatcher.getRoot().addChild(node);
while (aliasIterator.hasNext()) {
String otherAlias = aliasIterator.next();
Preconditions.checkArgument(!hasCommand(otherAlias),
"alias %s is already registered", otherAlias);
dispatcher.getRoot().addChild(BrigadierUtils.buildRedirect(otherAlias, node));
}
}