Fix legacy register command not allowing command overrides

This commit is contained in:
Andrew Steinborn 2020-07-31 10:58:27 -04:00
parent 5dcc0460a1
commit 933c81b9bf

View File

@ -60,7 +60,6 @@ public class VelocityCommandManager implements CommandManager {
Preconditions.checkNotNull(alias, "alias");
Preconditions.checkNotNull(command, "command");
Preconditions.checkNotNull(otherAliases, "otherAliases");
Preconditions.checkArgument(!hasCommand(alias), "alias already registered");
register(metaBuilder(alias).aliases(otherAliases).build(), command);
}