From d37ad3fc4500cf4d35db718bdaf964bad03840e4 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sun, 17 Oct 2021 22:52:57 -0400 Subject: lobby bug fixes, titles, game time --- .../java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/SetLobbyLocation.java') 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(); } -- cgit v1.2.3-freya