forked from MagicBane/Server
add is alive check to box refresh
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user