summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2021-08-21 20:08:11 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2021-08-21 20:08:11 -0400
commitdc731b425f2765f2c6480245c5570eedcf05b506 (patch)
treebd7f3d198e4246470e37f533bf24e9714ed3858f /src/main/java/net/tylermurphy/hideAndSeek/commands/Stop.java
parentglow powerup (diff)
downloadkenshinshideandseek-dc731b425f2765f2c6480245c5570eedcf05b506.tar.gz
kenshinshideandseek-dc731b425f2765f2c6480245c5570eedcf05b506.tar.bz2
kenshinshideandseek-dc731b425f2765f2c6480245c5570eedcf05b506.zip
1.1.0
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() {