aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-07-21 21:51:09 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-07-21 21:51:09 -0600
commit2263e8ddfc5239997138a242fbbfbe38cad88870 (patch)
tree5e86d0cd0624610048069245a98758a1fca679cf /src/net
parentaa1e00af1c3f290e0802e87bd01f105da8c94cd1 (diff)
downloadresurrection-2263e8ddfc5239997138a242fbbfbe38cad88870.tar
resurrection-2263e8ddfc5239997138a242fbbfbe38cad88870.tar.gz
resurrection-2263e8ddfc5239997138a242fbbfbe38cad88870.tar.bz2
set spawn to spawn on respawn spawn spawn
Diffstat (limited to 'src/net')
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java1
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() {