summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2021-10-20 20:14:01 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2021-10-20 20:14:01 -0400
commitfc87556d8c0cc92b856ad682e4b3cbc964514eee (patch)
tree5596f89ec062d560a161722c8b87bec44aa288fd /src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java
parentglow fix, on join code change (diff)
downloadkenshinshideandseek-fc87556d8c0cc92b856ad682e4b3cbc964514eee.tar.gz
kenshinshideandseek-fc87556d8c0cc92b856ad682e4b3cbc964514eee.tar.bz2
kenshinshideandseek-fc87556d8c0cc92b856ad682e4b3cbc964514eee.zip
teams reference rewrite
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/command/SetExitLocation.java6
1 files changed, 3 insertions, 3 deletions
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;
}