From dc731b425f2765f2c6480245c5570eedcf05b506 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sat, 21 Aug 2021 20:08:11 -0400 Subject: 1.1.0 --- src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java') diff --git a/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java b/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java index 71d0035..87abf49 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java @@ -33,6 +33,7 @@ public class Stop implements ICommand { public static void onStop() { if(status.equals("Standby") || status.equals("Setup")) return; status = "Standby"; + gameId++; for(Player player : playerList.values()) { player.setGameMode(GameMode.ADVENTURE); Hider.addEntry(player.getName()); @@ -44,7 +45,6 @@ public class Stop implements ICommand { player.addPotionEffect(new PotionEffect(PotionEffectType.HEAL, 1, 100)); } WorldborderManager.reset(); - gameId++; } public String getUsage() { -- cgit v1.2.3-freya