geforkt von Mirrors/Velocity
Use our fork's removeChildByName
Dieser Commit ist enthalten in:
Ursprung
7ead4add67
Commit
329e2b0dc9
@ -125,11 +125,7 @@ public class VelocityCommandManager implements CommandManager {
|
||||
@Override
|
||||
public void unregister(final String alias) {
|
||||
Preconditions.checkNotNull(alias, "alias");
|
||||
CommandNode<CommandSource> node =
|
||||
dispatcher.getRoot().getChild(alias.toLowerCase(Locale.ENGLISH));
|
||||
if (node != null) {
|
||||
dispatcher.getRoot().getChildren().remove(node);
|
||||
}
|
||||
dispatcher.getRoot().removeChildByName(alias.toLowerCase(Locale.ENGLISH));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren