summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-10-31 23:28:45 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-10-31 23:28:45 -0400
commit7530fe5e2dad89cabd694aefc91758a651ca9196 (patch)
tree0fc693e6b33b05a20c85ef0027a4c3638ae1511f /src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java
parentfinish beta build of multi map support (diff)
downloadkenshinshideandseek-7530fe5e2dad89cabd694aefc91758a651ca9196.tar.gz
kenshinshideandseek-7530fe5e2dad89cabd694aefc91758a651ca9196.tar.bz2
kenshinshideandseek-7530fe5e2dad89cabd694aefc91758a651ca9196.zip
1.7.0 beta 1
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java b/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java
index 50932d6..82f71d1 100644
--- a/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java
+++ b/src/main/java/net/tylermurphy/hideAndSeek/command/location/SetSpawnLocation.java
@@ -19,7 +19,7 @@
package net.tylermurphy.hideAndSeek.command.location;
-import net.tylermurphy.hideAndSeek.command.ICommand;
+import net.tylermurphy.hideAndSeek.command.util.Command;
import net.tylermurphy.hideAndSeek.command.location.util.LocationUtils;
import net.tylermurphy.hideAndSeek.command.location.util.Locations;
import net.tylermurphy.hideAndSeek.configuration.Maps;
@@ -33,7 +33,7 @@ import java.util.stream.Collectors;
import static net.tylermurphy.hideAndSeek.configuration.Config.*;
import static net.tylermurphy.hideAndSeek.configuration.Localization.message;
-public class SetSpawnLocation implements ICommand {
+public class SetSpawnLocation extends Command {
public void execute(Player sender, String[] args) {
LocationUtils.setLocation(sender, Locations.GAME, args[0], map -> {
@@ -58,7 +58,7 @@ public class SetSpawnLocation implements ICommand {
}
public String getLabel() {
- return "setspawn";
+ return "spawn";
}
public String getUsage() {