set spawn to spawn on respawn spawn spawn

This commit is contained in:
Bryson Steck 2021-07-21 21:51:09 -06:00
parent aa1e00af1c
commit 2263e8ddfc
2 changed files with 1 additions and 0 deletions

View file

@ -201,6 +201,7 @@ public class PlayerListener implements Listener {
p.setGameMode(GameMode.SPECTATOR); p.setGameMode(GameMode.SPECTATOR);
p.sendMessage(ChatColor.RED + "" + ChatColor.BOLD + "YOU HAVE DIED!!"); 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.sendMessage(ChatColor.RED + "You will be able to respawn in the next 24 hours.");
p.teleport(spawn);
new BukkitRunnable() { new BukkitRunnable() {
@Override @Override
public void run() { public void run() {