diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2021-10-17 22:52:57 -0400 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2021-10-17 22:52:57 -0400 |
commit | d37ad3fc4500cf4d35db718bdaf964bad03840e4 (patch) | |
tree | ee3506b113bf347e64dfac50930b688eed781453 /src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java | |
parent | fixed possible exception on player join (diff) | |
download | kenshinshideandseek-d37ad3fc4500cf4d35db718bdaf964bad03840e4.tar.gz kenshinshideandseek-d37ad3fc4500cf4d35db718bdaf964bad03840e4.tar.bz2 kenshinshideandseek-d37ad3fc4500cf4d35db718bdaf964bad03840e4.zip |
lobby bug fixes, titles, game time
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java')
-rw-r--r-- | src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java b/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java index 299a227..7cb13fc 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java @@ -29,7 +29,8 @@ public class SetLobbyLocation implements ICommand { temp.put("x", lobbyPosition.getX()); temp.put("y", lobbyPosition.getY()); temp.put("z", lobbyPosition.getZ()); - addToSection("lobby.spawn",temp); + temp.put("world", player.getLocation().getWorld().getName()); + addToSection("spawns.lobby",temp); saveConfig(); } |