|
|
@ -4844,8 +4844,7 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
if (!this.isAlive() && this.isEnteredWorld()) { |
|
|
|
if (!this.isAlive() && this.isEnteredWorld()) { |
|
|
|
if(!this.timestamps.containsKey("DeathTime")){ |
|
|
|
if(!this.timestamps.containsKey("DeathTime")){ |
|
|
|
this.timestamps.put("DeathTime",System.currentTimeMillis()); |
|
|
|
this.timestamps.put("DeathTime",System.currentTimeMillis()); |
|
|
|
} |
|
|
|
}else if((System.currentTimeMillis() - this.timestamps.get("DeathTime")) > 600000) |
|
|
|
if((System.currentTimeMillis() - this.timestamps.get("DeathTime")) > 600000) |
|
|
|
|
|
|
|
forceRespawn(this); |
|
|
|
forceRespawn(this); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|