mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Fixes #321 (again)
This commit is contained in:
parent
b526ff4b72
commit
a81ea1726b
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue