Skip to content

Commit

Permalink
πŸ›[main/App] Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepymalc committed Aug 15, 2021
1 parent fa619a7 commit e11e8c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/linyuanlin/minecraft/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit e11e8c0

Please sign in to comment.