diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 2389ee68..761439ca 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -5197,6 +5197,12 @@ public class PlayerCharacter extends AbstractCharacter { grantXP(Experience.getBaseExperience(this.level + 1) - this.exp); } } + if(this.isBoxed && !this.containsEffect(-654906771)){ + PowersManager.applyPower(this,this,this.loc,-935138707,40,false); + }else if(!this.isBoxed && this.containsEffect(-654906771)){ + EffectsBase eb = PowersManager.getEffectByToken(-654906771); + this.effects.remove(String.valueOf(eb.getUUID())); + } } if (this.isFlying()) { if (this.effects.containsKey("MoveBuff")) {