diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 0b70d0ef..b309d665 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -5202,33 +5202,12 @@ public class PlayerCharacter extends AbstractCharacter { this.safeZone = this.isInSafeZone(); if(this.isActive && this.enteredWorld) { - if (!this.timestamps.containsKey("nextBoxCheck")) - this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000); + // if (!this.timestamps.containsKey("nextBoxCheck")) + // this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000); - // if (!this.isBoxed && this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) { - // this.isBoxed = checkIfBoxed(this); - // this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000); - //} - - if(this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) { + //if(this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) { updateBoxStatus(checkIfBoxed(this)); - this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000); - } - - //if (this.isBoxed){ - //if(!this.title.equals(CharacterTitle.PVE)){ - // this.title = CharacterTitle.PVE; - // InterestManager.setObjectDirty(this); - // InterestManager.reloadCharacter(this, false); - // this.setDirtyLoad(true); - //} - //}else { - // if (!this.title.equals(CharacterTitle.NONE)) { - // this.title = CharacterTitle.NONE; - // InterestManager.setObjectDirty(this); - // InterestManager.reloadCharacter(this, false); - // this.setDirtyLoad(true); - // } + // this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000); //} if (this.level < 10 && this.enteredWorld) {