Add TypeMapper.map with CommandSender #98
@ -186,7 +186,7 @@ public abstract class SWCommand {
|
||||
});
|
||||
}
|
||||
|
||||
protected void unregister() {
|
||||
public void unregister() {
|
||||
SWCommandUtils.knownCommandMap.remove(command.getName());
|
||||
for (String alias : command.getAliases()) {
|
||||
SWCommandUtils.knownCommandMap.remove(alias);
|
||||
@ -194,7 +194,7 @@ public abstract class SWCommand {
|
||||
command.unregister(SWCommandUtils.commandMap);
|
||||
}
|
||||
|
||||
protected void register() {
|
||||
public void register() {
|
||||
SWCommandUtils.commandMap.register("steamwar", this.command);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren