box flag situation looked into

This commit is contained in:
2024-05-28 21:24:53 -05:00
parent 2b1299ec4a
commit 40bff54838
5 changed files with 90 additions and 39 deletions
+14 -14
View File
@@ -4873,20 +4873,20 @@ public class PlayerCharacter extends AbstractCharacter {
}
}
if(this.isBoxed) {
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{
if(this.title.equals(CharacterTitle.NONE) == false) {
this.title = CharacterTitle.NONE;
InterestManager.reloadCharacter(this);
}
}
//if(this.isBoxed) {
// 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{
// if(this.title.equals(CharacterTitle.NONE) == false) {
// this.title = CharacterTitle.NONE;
// InterestManager.reloadCharacter(this);
// }
// }
}
} catch (Exception e) {