glitch happens regardless, reverting;

This commit is contained in:
Bryson Steck 2021-08-25 17:26:38 -06:00
parent 942b6b16c7
commit 64195ae41e
2 changed files with 1 additions and 2 deletions

View file

@ -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