summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java b/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java
index dd73dac..c1316f8 100644
--- a/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java
+++ b/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java
@@ -5,22 +5,13 @@ package net.tylermurphy.hideAndSeek.command.location;
*/
public enum Locations {
- GAME("spawns.game"),
- LOBBY("spawns.lobby"),
- EXIT("spawns.exit"),
- SEEKER("spawns.seeker");
-
- private final String path;
- Locations(String path) {
- this.path = path;
- }
+ GAME,
+ LOBBY,
+ EXIT,
+ SEEKER;
public String message() {
return this + "_SPAWN";
}
- public String path(String additive) {
- return path + "." + additive;
- }
-
} \ No newline at end of file