testing new check for #4
This commit is contained in:
parent
dcc89e05ba
commit
7aa5af0920
2 changed files with 6 additions and 0 deletions
Binary file not shown.
|
@ -57,7 +57,13 @@ public class PlayerListener implements Listener {
|
|||
boolean dead = Boolean.parseBoolean(playerSplit[1]);
|
||||
timeToResurrection = Long.parseLong(playerSplit[2]);
|
||||
|
||||
if (timeToResurrection < System.currentTimeMillis()) {
|
||||
dead = false;
|
||||
timeToResurrection = 0;
|
||||
}
|
||||
|
||||
if (!dead) {
|
||||
|
||||
if (DEBUG) {
|
||||
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + "[Res. DEBUG]: Player " + p.getDisplayName() + " is not dead; making sure they are in survival");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue