Fixes #321 (again)

This commit is contained in:
sauilitired 2015-07-02 20:27:15 +02:00
parent b526ff4b72
commit a81ea1726b

View File

@ -232,6 +232,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
Player player = Bukkit.getPlayer(uuid); Player player = Bukkit.getPlayer(uuid);
if (player != null && player.isOnline()) { if (player != null && player.isOnline()) {
MainUtil.sendMessage(BukkitUtil.getPlayer(player), c); MainUtil.sendMessage(BukkitUtil.getPlayer(player), c);
player.teleport(player.getWorld().getSpawnLocation());
} }
} }