diff --git a/src/main/java/net/coreprotect/command/PurgeCommand.java b/src/main/java/net/coreprotect/command/PurgeCommand.java index abe36cf8..002f69e5 100755 --- a/src/main/java/net/coreprotect/command/PurgeCommand.java +++ b/src/main/java/net/coreprotect/command/PurgeCommand.java @@ -329,6 +329,11 @@ else if (argWid > 0) { } } catch (Exception e) { + if (!ConfigHandler.serverRunning) { + Chat.sendGlobalMessage(player, Phrase.build(Phrase.PURGE_FAILED)); + return; + } + e.printStackTrace(); } }