mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-01-18 14:44:07 +08:00
Fix legacy register command not allowing command overrides
This commit is contained in:
parent
5dcc0460a1
commit
933c81b9bf
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user