Simplify SWCommand Constructor
Dieser Commit ist enthalten in:
Ursprung
3d5ae19863
Commit
67b7f431e0
@ -37,6 +37,10 @@ public abstract class SWCommand {
|
||||
private final Set<InternalTabComplete> tabCompleteSet = new HashSet<>();
|
||||
private Consumer<CommandSender> helpMessage = sender -> {};
|
||||
|
||||
protected SWCommand(String command) {
|
||||
this(command, new String[0]);
|
||||
}
|
||||
|
||||
protected SWCommand(String command, String... aliases) {
|
||||
SWCommandUtils.commandMap.register("steamwar", new Command(command, "", "/" + command, Arrays.asList(aliases)) {
|
||||
@Override
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren