diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2022-05-12 17:14:05 -0400 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2022-05-12 17:14:05 -0400 |
commit | 66f9ad10118a3eced3d2d24d9be57a49980026b0 (patch) | |
tree | ad58e0853b03a0e964a5bbe8c5f69c5417ed5a6d /src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java | |
parent | temp fly debug tool, game abandon bug fix (diff) | |
download | kenshinshideandseek-66f9ad10118a3eced3d2d24d9be57a49980026b0.tar.gz kenshinshideandseek-66f9ad10118a3eced3d2d24d9be57a49980026b0.tar.bz2 kenshinshideandseek-66f9ad10118a3eced3d2d24d9be57a49980026b0.zip |
force spectator flight
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java index f87457f..efbbfac 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java @@ -23,8 +23,6 @@ import static net.tylermurphy.hideAndSeek.configuration.Config.*; import net.tylermurphy.hideAndSeek.game.Game; import net.tylermurphy.hideAndSeek.util.Status; -import net.tylermurphy.hideAndSeek.util.WinType; -import org.bukkit.Bukkit; import org.bukkit.command.CommandSender; import static net.tylermurphy.hideAndSeek.configuration.Localization.*; @@ -38,7 +36,7 @@ public class Stop implements ICommand { } if(Game.status == Status.STARTING || Game.status == Status.PLAYING) { Game.broadcastMessage(abortPrefix + message("STOP")); - Game.stop(); + Game.end(); } else { sender.sendMessage(errorPrefix + message("GAME_NOT_INPROGRESS")); } |