diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2022-11-21 23:47:04 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2022-11-21 23:47:04 -0500 |
commit | fcc3764a14d76fa24cddb75fe338a3ee36dec3fa (patch) | |
tree | 7db605d10cceffe29f1f9dca884e99f35d24d6e4 /src/main/java/net/tylermurphy/hideAndSeek/command/location/Locations.java | |
parent | 1.7.0 beta 8 (diff) | |
download | kenshinshideandseek-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.java | 17 |
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 |