Added CancelShutdown broadcast message
This commit is contained in:
parent
933ea496c8
commit
41152d7864
@ -32,6 +32,7 @@ public class Restart extends Appliance {
|
||||
public void cancelRestart() {
|
||||
try {
|
||||
this.countdown.cancel();
|
||||
this.announce(Component.text("Der geplante Serverneustart wurde abgebrochen!", NamedTextColor.RED));
|
||||
} catch (IllegalStateException e) {
|
||||
throw new ApplianceCommand.Error(e.getMessage());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user