From d84b214fd32d3b199b5c1429a0e4fbda21f187d1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 10 May 2024 18:28:30 -0500 Subject: [PATCH] Boxed Title --- src/engine/objects/PlayerCharacter.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 75163fee..5438d1c1 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -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); + } } }