disconnect after 10 minutes dead
This commit is contained in:
@@ -2048,7 +2048,8 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
public void respawn(boolean setAlive, boolean enterWorld, boolean makeCorpse) {
|
public void respawn(boolean setAlive, boolean enterWorld, boolean makeCorpse) {
|
||||||
|
|
||||||
// Recalculate everything
|
// Recalculate everything
|
||||||
|
if(this.timestamps.containsKey("DeathTime"))
|
||||||
|
this.timestamps.remove("DeathTime");
|
||||||
|
|
||||||
this.recalculatePlayerStats(true);
|
this.recalculatePlayerStats(true);
|
||||||
this.setCombat(false);
|
this.setCombat(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user