Boxed Title

This commit is contained in:
2024-05-10 18:28:30 -05:00
parent 4440ed1f0d
commit d84b214fd3
+8 -2
View File
@@ -4846,12 +4846,18 @@ public class PlayerCharacter extends AbstractCharacter {
}
if(this.isBoxed) {
this.title = CharacterTitle.BOX;
if(this.title.equals(CharacterTitle.BOX) == false) {
this.title = CharacterTitle.BOX;
InterestManager.reloadCharacter(this);
}
if (this.containsEffect(1672601862) == false) {//Deathshroud
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
}
}else{
this.title = CharacterTitle.NONE;
if(this.title.equals(CharacterTitle.NONE) == false) {
this.title = CharacterTitle.NONE;
InterestManager.reloadCharacter(this);
}
}
}