summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java2
1 files changed, 1 insertions, 1 deletions
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() {