Update CommonCore
Fix SWCommand for message system
Dieser Commit ist enthalten in:
Ursprung
d35ef19ba3
Commit
79d9948aed
@ -1 +1 @@
|
||||
Subproject commit 36bb4db5152940eb9b190552607c23079f6abee6
|
||||
Subproject commit 41b46eb6f57318ebe5fcbbb7ca48baa481a66b04
|
@ -101,6 +101,13 @@ public class SWCommand extends AbstractSWCommand<CommandSender> {
|
||||
this.message.send(message, sender, args);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initialisePartOf(AbstractSWCommand parent) {
|
||||
if (parent instanceof SWCommand) {
|
||||
this.message = ((SWCommand) parent).message;
|
||||
}
|
||||
}
|
||||
|
||||
@Register(help = true)
|
||||
public void internalHelp(Player p, String... args) {
|
||||
if (message == null) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren