summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-11-21 23:47:04 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2022-11-21 23:47:04 -0500
commitfcc3764a14d76fa24cddb75fe338a3ee36dec3fa (patch)
tree7db605d10cceffe29f1f9dca884e99f35d24d6e4 /src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java
parent1.7.0 beta 8 (diff)
downloadkenshinshideandseek-fcc3764a14d76fa24cddb75fe338a3ee36dec3fa.tar.gz
kenshinshideandseek-fcc3764a14d76fa24cddb75fe338a3ee36dec3fa.tar.bz2
kenshinshideandseek-fcc3764a14d76fa24cddb75fe338a3ee36dec3fa.zip
1.7.0 beta 9
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