Skip to content

Commit

Permalink
set spawn to spawn on respawn spawn spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryson Steck committed Jul 22, 2021
1 parent aa1e00a commit 2263e8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified out/artifacts/Resurrection_jar/Resurrection.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ public void onPlayerRespawn(PlayerRespawnEvent e) {
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() {
Expand Down

0 comments on commit 2263e8d

Please sign in to comment.