set spawn to spawn on respawn spawn spawn
This commit is contained in:
parent
aa1e00af1c
commit
2263e8ddfc
2 changed files with 1 additions and 0 deletions
Binary file not shown.
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue