From 6e09da9150bb8b178a168f463136759d95a2f8d4 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sat, 25 Dec 2021 22:46:22 -0600 Subject: 1.3.3 beta 2 --- src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java') diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java index f444f34..2fef77c 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Stop.java @@ -3,6 +3,7 @@ package net.tylermurphy.hideAndSeek.command; import static net.tylermurphy.hideAndSeek.configuration.Config.*; import net.tylermurphy.hideAndSeek.game.Status; +import net.tylermurphy.hideAndSeek.game.WinType; import org.bukkit.Bukkit; import org.bukkit.command.CommandSender; @@ -20,7 +21,7 @@ public class Stop implements ICommand { if(Main.plugin.status == Status.STARTING || Main.plugin.status == Status.PLAYING) { if(announceMessagesToNonPlayers) Bukkit.broadcastMessage(abortPrefix + message("STOP")); else Util.broadcastMessage(abortPrefix + message("STOP")); - Main.plugin.game.stop(); + Main.plugin.game.stop(WinType.NONE); } else { sender.sendMessage(errorPrefix + message("GAME_NOT_INPROGRESS")); } -- cgit v1.2.3-freya