aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-08-25 17:26:38 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-08-25 17:26:38 -0600
commit64195ae41efed948b6278ed7162f0ed51a682220 (patch)
tree283c13473a98dfc8f0cdd3164e9fefc28d0142c1 /src/net/brysonsteck
parent942b6b16c7e83502392492724b0be1e90881d5e2 (diff)
downloadresurrection-64195ae41efed948b6278ed7162f0ed51a682220.tar
resurrection-64195ae41efed948b6278ed7162f0ed51a682220.tar.gz
resurrection-64195ae41efed948b6278ed7162f0ed51a682220.tar.bz2
glitch happens regardless, reverting;
Diffstat (limited to 'src/net/brysonsteck')
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java
index f106cb0..9648f69 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,7 +183,6 @@ public class PlayerListener implements Listener {
}
}
}.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), timeToResurrection);
- Bukkit.broadcastMessage("They will respawn in the next " + timeCheck.formatTime('f'));
}
@EventHandler