13
0
geforkt von Mirrors/Velocity

Fix legacy register command not allowing command overrides

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-07-31 10:58:27 -04:00
Ursprung 5dcc0460a1
Commit 933c81b9bf

Datei anzeigen

@ -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);
}