summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/SetBorder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/SetBorder.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/command/SetBorder.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/SetBorder.java b/src/main/java/net/tylermurphy/hideAndSeek/command/SetBorder.java
index e8ad2c9..d453871 100644
--- a/src/main/java/net/tylermurphy/hideAndSeek/command/SetBorder.java
+++ b/src/main/java/net/tylermurphy/hideAndSeek/command/SetBorder.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,13 +9,13 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.util.Vector;
-import net.tylermurphy.hideAndSeek.util.Functions;
-import net.tylermurphy.hideAndSeek.util.ICommand;
+import net.tylermurphy.hideAndSeek.Main;
+import net.tylermurphy.hideAndSeek.events.Worldborder;
public class SetBorder implements ICommand {
public void execute(CommandSender sender, String[] args) {
- if(!status.equals("Standby")) {
+ if(!Main.plugin.status.equals("Standby")) {
sender.sendMessage(errorPrefix + "Game is currently in session");
return;
}
@@ -30,7 +30,7 @@ public class SetBorder implements ICommand {
addToSection("worldBorder",temp);
saveConfig();
sender.sendMessage(messagePrefix + "Disabled worldborder.");
- Functions.resetWorldborder(spawnWorld);
+ Worldborder.resetWorldborder(spawnWorld);
return;
}
int num,delay;
@@ -68,7 +68,7 @@ public class SetBorder implements ICommand {
addToSection("worldBorder",temp);
sender.sendMessage(messagePrefix + "Set border center to current location, size to "+num+", and delay to "+delay);
saveConfig();
- Functions.resetWorldborder(spawnWorld);
+ Worldborder.resetWorldborder(spawnWorld);
}
public String getLabel() {