From 45d710f74832b87b4ce8b0b203d3ee1f07c3a405 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Fri, 13 Aug 2021 21:35:32 -0400 Subject: [PATCH] fixed setup crash --- src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java b/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java index a1758c7..b4ccca4 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java @@ -30,7 +30,7 @@ public class Stop implements ICommand { } public static void onStop(boolean forced) { - if(status.equals("Standby")) return; + if(status.equals("Standby") || status.equals("Setup")) return; if(forced) { Bukkit.broadcastMessage(messagePrefix + "Game has been force stopped."); } else {