From fc87556d8c0cc92b856ad682e4b3cbc964514eee Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Wed, 20 Oct 2021 20:14:01 -0400 Subject: teams reference rewrite --- .../java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java') diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java b/src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java index 3f872a1..2808948 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java @@ -1,6 +1,6 @@ package net.tylermurphy.hideAndSeek.command; -import static net.tylermurphy.hideAndSeek.Store.*; +import static net.tylermurphy.hideAndSeek.Config.*; import java.util.HashMap; import java.util.Map; @@ -9,7 +9,7 @@ import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.util.Vector; -import net.tylermurphy.hideAndSeek.util.ICommand; +import net.tylermurphy.hideAndSeek.Main; public class SetExitLocation implements ICommand { @@ -19,7 +19,7 @@ public class SetExitLocation implements ICommand { newExitPosition.setX(player.getLocation().getBlockX()); newExitPosition.setY(player.getLocation().getBlockY()); newExitPosition.setZ(player.getLocation().getBlockZ()); - if(!status.equals("Standby")) { + if(!Main.plugin.status.equals("Standby")) { sender.sendMessage(errorPrefix + "Game is currently in session"); return; } -- cgit v1.2.3-freya