diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-08-25 17:23:25 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-08-25 17:23:25 -0600 |
commit | 942b6b16c7e83502392492724b0be1e90881d5e2 (patch) | |
tree | a8eed870d27e499e3c0caa12ef7c383827c79870 /src/net/brysonsteck/Resurrection/player | |
parent | 8ccd61b2316afd94b8dd192a73ed1b4c59295984 (diff) | |
download | resurrection-942b6b16c7e83502392492724b0be1e90881d5e2.tar resurrection-942b6b16c7e83502392492724b0be1e90881d5e2.tar.gz resurrection-942b6b16c7e83502392492724b0be1e90881d5e2.tar.bz2 |
seeing if seperate messages fixes the glitched death screen
Diffstat (limited to 'src/net/brysonsteck/Resurrection/player')
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/PlayerListener.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java index 9648f69..f106cb0 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java @@ -118,7 +118,7 @@ public class PlayerListener implements Listener { long resurrectionTime = System.currentTimeMillis() + Long.parseLong(parseSettings.getSetting("resurrection_time")); - e.setDeathMessage(e.getDeathMessage() + ". They will respawn in the next " + timeCheck.formatTime('f')); +// e.setDeathMessage(e.getDeathMessage() + ". They will respawn in the next " + timeCheck.formatTime('f')); // p.sendMessage("You have died!! You will be able to respawn in the next " + timeCheck.formatTime('h')); timerRunning = true; @@ -183,6 +183,7 @@ public class PlayerListener implements Listener { } } }.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), timeToResurrection); + Bukkit.broadcastMessage("They will respawn in the next " + timeCheck.formatTime('f')); } @EventHandler |