seeing if seperate messages fixes the glitched death screen
This commit is contained in:
parent
8ccd61b231
commit
942b6b16c7
2 changed files with 2 additions and 1 deletions
Binary file not shown.
|
@ -118,7 +118,7 @@ public class PlayerListener implements Listener {
|
||||||
|
|
||||||
long resurrectionTime = System.currentTimeMillis() + Long.parseLong(parseSettings.getSetting("resurrection_time"));
|
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'));
|
// p.sendMessage("You have died!! You will be able to respawn in the next " + timeCheck.formatTime('h'));
|
||||||
timerRunning = true;
|
timerRunning = true;
|
||||||
|
|
||||||
|
@ -183,6 +183,7 @@ public class PlayerListener implements Listener {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), timeToResurrection);
|
}.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), timeToResurrection);
|
||||||
|
Bukkit.broadcastMessage("They will respawn in the next " + timeCheck.formatTime('f'));
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
|
Loading…
Add table
Reference in a new issue