forked from MagicBane/Server
box flag checker
This commit is contained in:
@@ -4876,7 +4876,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
if (this.isBoxed) {
|
||||
if (this.title.equals(CharacterTitle.BOX) == false) {
|
||||
this.title = CharacterTitle.BOX;
|
||||
InterestManager.reloadCharacter(this);
|
||||
InterestManager.reloadCharacter(this,true);
|
||||
}
|
||||
if (this.containsEffect(1672601862) == false) {//Deathshroud
|
||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
@@ -4884,7 +4884,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
} else {
|
||||
if (this.title.equals(CharacterTitle.NONE) == false) {
|
||||
this.title = CharacterTitle.NONE;
|
||||
InterestManager.reloadCharacter(this);
|
||||
InterestManager.reloadCharacter(this,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user