From a81ea1726b18a10bf78ea9874f568aac6f1a3fc3 Mon Sep 17 00:00:00 2001 From: sauilitired Date: Thu, 2 Jul 2015 20:27:15 +0200 Subject: [PATCH] Fixes #321 (again) --- .../src/main/java/com/intellectualcrafters/plot/BukkitMain.java | 1 + 1 file changed, 1 insertion(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java index 35222eeaa..93bc05698 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java @@ -232,6 +232,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain { Player player = Bukkit.getPlayer(uuid); if (player != null && player.isOnline()) { MainUtil.sendMessage(BukkitUtil.getPlayer(player), c); + player.teleport(player.getWorld().getSpawnLocation()); } }