disconnect after 10 minutes dead
This commit is contained in:
1 parent
1901c9a679
commit
a315366026
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user