diff --git a/src/main/java/net/coreprotect/command/PurgeCommand.java b/src/main/java/net/coreprotect/command/PurgeCommand.java index abe36cf..002f69e 100755 --- a/src/main/java/net/coreprotect/command/PurgeCommand.java +++ b/src/main/java/net/coreprotect/command/PurgeCommand.java @@ -329,6 +329,11 @@ public class PurgeCommand extends Consumer { } } catch (Exception e) { + if (!ConfigHandler.serverRunning) { + Chat.sendGlobalMessage(player, Phrase.build(Phrase.PURGE_FAILED)); + return; + } + e.printStackTrace(); } }