add is alive check to box refresh

This commit is contained in:
2024-05-18 12:26:17 -05:00
parent b113b55703
commit c1331efe38
+1 -1
View File
@@ -4852,7 +4852,7 @@ public class PlayerCharacter extends AbstractCharacter {
//if(this.isBoxed && this.containsEffect(429611355) == false) {//pathfinding
// PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 429611355, 40, false);
//}
if(this.isEnteredWorld() && this.isActive()){
if(this.isEnteredWorld() && this.isActive() && this.isAlive()){
if( this.getLevel() < 10) {
this.setLevel((short) 10);
boolean hasConc = false;