diff --git a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java index 99c882aa5..072c45634 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommandManager.java @@ -112,6 +112,11 @@ public class VelocityCommandManager implements CommandManager { dispatcher.getRoot().addChild(node); while (aliasIterator.hasNext()) { String otherAlias = aliasIterator.next(); + CommandNode existingNode = dispatcher.getRoot() + .getChild(alias.toLowerCase(Locale.ENGLISH)); + if (existingNode != null) { + dispatcher.getRoot().getChildren().remove(existingNode); + } dispatcher.getRoot().addChild(BrigadierUtils.buildRedirect(otherAlias, node)); } }