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:
Ursprung
306221a92f
Commit
7f1ee77a69
@ -112,8 +112,6 @@ public class VelocityCommandManager implements CommandManager {
|
|||||||
dispatcher.getRoot().addChild(node);
|
dispatcher.getRoot().addChild(node);
|
||||||
while (aliasIterator.hasNext()) {
|
while (aliasIterator.hasNext()) {
|
||||||
String otherAlias = aliasIterator.next();
|
String otherAlias = aliasIterator.next();
|
||||||
Preconditions.checkArgument(!hasCommand(otherAlias),
|
|
||||||
"alias %s is already registered", otherAlias);
|
|
||||||
dispatcher.getRoot().addChild(BrigadierUtils.buildRedirect(otherAlias, node));
|
dispatcher.getRoot().addChild(BrigadierUtils.buildRedirect(otherAlias, node));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren