From 4440ed1f0d96f9acadb2e419854768dc760c6667 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 10 May 2024 18:23:35 -0500 Subject: [PATCH] Boxed Title --- src/engine/objects/PlayerCharacter.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 0efd5091..75163fee 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4845,8 +4845,13 @@ public class PlayerCharacter extends AbstractCharacter { } } - if(this.isBoxed && this.containsEffect(1672601862) == false) {//Deathshroud - PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); + if(this.isBoxed) { + this.title = CharacterTitle.BOX; + if (this.containsEffect(1672601862) == false) {//Deathshroud + PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); + } + }else{ + this.title = CharacterTitle.NONE; } }