From a31536602610ee4ff8750be6a760a4e059f538a7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 13 Sep 2024 19:46:01 -0500 Subject: [PATCH] disconnect after 10 minutes dead --- src/engine/objects/PlayerCharacter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 29a4c618..7dd9ad9e 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -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);