Dieser Commit ist enthalten in:
Ursprung
ef49888699
Commit
b1328695a1
@ -45,12 +45,7 @@ public abstract class AbstractSWCommand<T> {
|
||||
}
|
||||
|
||||
protected AbstractSWCommand(Class<T> clazz, String command, String... aliases) {
|
||||
this(clazz, command, () -> {}, aliases);
|
||||
}
|
||||
|
||||
protected AbstractSWCommand(Class<T> clazz, String command, Runnable initializer, String... aliases) {
|
||||
this.clazz = clazz;
|
||||
initializer.run();
|
||||
createAndSafeCommand(command, aliases);
|
||||
unregister();
|
||||
register();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren