|
|
@ -5199,17 +5199,20 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
|
|
|
|
|
|
|
|
if (this.isBoxed){// && !this.containsEffect(1672601862)) {
|
|
|
|
if (this.isBoxed){// && !this.containsEffect(1672601862)) {
|
|
|
|
//PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
|
|
|
//PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
|
|
|
if(!this.title.equals(CharacterTitle.PVE)){ |
|
|
|
//if(!this.title.equals(CharacterTitle.PVE)){
|
|
|
|
this.title = CharacterTitle.PVE; |
|
|
|
// this.title = CharacterTitle.PVE;
|
|
|
|
InterestManager.setObjectDirty(this); |
|
|
|
// InterestManager.setObjectDirty(this);
|
|
|
|
InterestManager.reloadCharacter(this, false); |
|
|
|
// InterestManager.reloadCharacter(this, false);
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
if(!this.containsEffect(496607208)){ |
|
|
|
|
|
|
|
PowersManager.applyPower(this,this,this.loc,-2133617927,40,false); |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
if (!this.title.equals(CharacterTitle.NONE)) { |
|
|
|
//if (!this.title.equals(CharacterTitle.NONE)) {
|
|
|
|
this.title = CharacterTitle.NONE; |
|
|
|
// this.title = CharacterTitle.NONE;
|
|
|
|
InterestManager.setObjectDirty(this); |
|
|
|
// InterestManager.setObjectDirty(this);
|
|
|
|
InterestManager.reloadCharacter(this, false); |
|
|
|
// InterestManager.reloadCharacter(this, false);
|
|
|
|
} |
|
|
|
//}
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.isFlying()) { |
|
|
|
if (this.isFlying()) { |
|
|
|