summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2021-12-21 11:31:00 -0500
committerGitHub <noreply@github.com>2021-12-21 11:31:00 -0500
commita5a7af37fb45a75fece1093d3efc26131366ce3f (patch)
tree16ec865e9e1530b9b846f70dbc8a122ef3a1e533 /src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java
parentmake beta branch use every branch besides master (diff)
parentfinalize docs (diff)
downloadkenshinshideandseek-a5a7af37fb45a75fece1093d3efc26131366ce3f.tar.gz
kenshinshideandseek-a5a7af37fb45a75fece1093d3efc26131366ce3f.tar.bz2
kenshinshideandseek-a5a7af37fb45a75fece1093d3efc26131366ce3f.zip
Merge pull request #15 from tylermurphy534/1.3.1
1.3.1
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java b/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java
index 53ae721..2e96a9d 100644
--- a/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java
+++ b/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java
@@ -28,6 +28,7 @@ public class SetLobbyLocation implements ICommand {
newLobbyPosition.setX(player.getLocation().getBlockX());
newLobbyPosition.setY(player.getLocation().getBlockY());
newLobbyPosition.setZ(player.getLocation().getBlockZ());
+ lobbyWorld = player.getLocation().getWorld().getName();
lobbyPosition = newLobbyPosition;
sender.sendMessage(messagePrefix + message("LOBBY_SPAWN"));
addToConfig("spawns.lobby.x", lobbyPosition.getX());