disconnect after 10 minutes dead

This commit is contained in:
2024-09-13 19:46:01 -05:00
parent 1901c9a679
commit a315366026
+2 -1
View File
@@ -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);