From 64195ae41efed948b6278ed7162f0ed51a682220 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Wed, 25 Aug 2021 17:26:38 -0600 Subject: glitch happens regardless, reverting; --- out/artifacts/Resurrection_jar/Resurrection.jar | Bin 1600462 -> 1600460 bytes .../Resurrection/player/PlayerListener.java | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar index 29d02d3..139304b 100644 Binary files a/out/artifacts/Resurrection_jar/Resurrection.jar and b/out/artifacts/Resurrection_jar/Resurrection.jar differ 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 -- cgit v1.2.3