3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-23 23:00:35 +01:00

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