diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/PlayerListener.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java index 2b1fc7a..7cc8618 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java @@ -201,6 +201,7 @@ public class PlayerListener implements Listener { p.setGameMode(GameMode.SPECTATOR); p.sendMessage(ChatColor.RED + "" + ChatColor.BOLD + "YOU HAVE DIED!!"); p.sendMessage(ChatColor.RED + "You will be able to respawn in the next 24 hours."); + p.teleport(spawn); new BukkitRunnable() { @Override public void run() { |