Browse Source

disconnect after 10 minutes dead

lakebane-mine-tele
FatBoy-DOTC 2 months ago
parent
commit
a315366026
  1. 3
      src/engine/objects/PlayerCharacter.java

3
src/engine/objects/PlayerCharacter.java

@ -2048,7 +2048,8 @@ public class PlayerCharacter extends AbstractCharacter { @@ -2048,7 +2048,8 @@ public class PlayerCharacter extends AbstractCharacter {
public void respawn(boolean setAlive, boolean enterWorld, boolean makeCorpse) {
// Recalculate everything
if(this.timestamps.containsKey("DeathTime"))
this.timestamps.remove("DeathTime");
this.recalculatePlayerStats(true);
this.setCombat(false);

Loading…
Cancel
Save