Browse Source

player update cleanup

lakebane-jobs
FatBoy-DOTC 13 hours ago
parent
commit
2160719126
  1. 8
      src/engine/objects/PlayerCharacter.java

8
src/engine/objects/PlayerCharacter.java

@ -5125,14 +5125,6 @@ public class PlayerCharacter extends AbstractCharacter { @@ -5125,14 +5125,6 @@ public class PlayerCharacter extends AbstractCharacter {
if (this.updateLock.writeLock().tryLock()) {
try {
//if (!this.isAlive() && this.isEnteredWorld()) {
// if (!this.timestamps.containsKey("DeathTime")) {
// this.timestamps.put("DeathTime", System.currentTimeMillis());
// } else if ((System.currentTimeMillis() - this.timestamps.get("DeathTime")) > 600000)
// forceRespawn(this);
// return;
//}
if (this.isAlive() && this.isActive && this.enteredWorld) {
if (this.combatStats == null) {

Loading…
Cancel
Save