From 1901c9a679f203e6de6229ff57fe61eb1c252c6f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 13 Sep 2024 19:44:56 -0500 Subject: [PATCH] disconnect after 10 minutes dead --- src/engine/objects/PlayerCharacter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 9f99221e..29a4c618 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4829,7 +4829,7 @@ public class PlayerCharacter extends AbstractCharacter { if(!this.timestamps.containsKey("DeathTime")){ 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); return; }