diff --git a/src/main/java/com/linyuanlin/minecraft/App.java b/src/main/java/com/linyuanlin/minecraft/App.java index d663856..2e6ea62 100644 --- a/src/main/java/com/linyuanlin/minecraft/App.java +++ b/src/main/java/com/linyuanlin/minecraft/App.java @@ -149,6 +149,9 @@ public void onJoin(PlayerJoinEvent e) { World lobbyWorld = Bukkit.getWorld("world_lobby"); discordBotManager.sendMessage("TEST", "Project-Minecraft", msg); if (lobbyWorld != null) { + if (locationManager.getLocation("lobby_spawn") == null) { + p.sendMessage("null"); + } p.teleport(locationManager.getLocation("lobby_spawn")); } pd.sendWorldTitle(p.getWorld().getName());