Browse Source

disconnect after 10 minutes dead

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

2
src/engine/objects/PlayerCharacter.java

@ -4829,7 +4829,7 @@ public class PlayerCharacter extends AbstractCharacter {
if(!this.timestamps.containsKey("DeathTime")){ if(!this.timestamps.containsKey("DeathTime")){
this.timestamps.put("DeathTime",System.currentTimeMillis()); this.timestamps.put("DeathTime",System.currentTimeMillis());
} }
if((System.currentTimeMillis() - this.timestamps.get("DeathTime")) > 6000)//00) if((System.currentTimeMillis() - this.timestamps.get("DeathTime")) > 600000)
forceRespawn(this); forceRespawn(this);
return; return;
} }

Loading…
Cancel
Save