geforkt von Mirrors/Velocity
Fix legacy register command not allowing command overrides
Dieser Commit ist enthalten in:
Ursprung
5dcc0460a1
Commit
933c81b9bf
@ -60,7 +60,6 @@ public class VelocityCommandManager implements CommandManager {
|
|||||||
Preconditions.checkNotNull(alias, "alias");
|
Preconditions.checkNotNull(alias, "alias");
|
||||||
Preconditions.checkNotNull(command, "command");
|
Preconditions.checkNotNull(command, "command");
|
||||||
Preconditions.checkNotNull(otherAliases, "otherAliases");
|
Preconditions.checkNotNull(otherAliases, "otherAliases");
|
||||||
Preconditions.checkArgument(!hasCommand(alias), "alias already registered");
|
|
||||||
register(metaBuilder(alias).aliases(otherAliases).build(), command);
|
register(metaBuilder(alias).aliases(otherAliases).build(), command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren