forked from MagicBane/Server
PVE flag
This commit is contained in:
@@ -5198,8 +5198,17 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.isBoxed && !this.containsEffect(1672601862)) {
|
||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
if (this.isBoxed){// && !this.containsEffect(1672601862)) {
|
||||
//PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
if(!this.title.equals(CharacterTitle.PVE)){
|
||||
this.title = CharacterTitle.PVE;
|
||||
InterestManager.forceLoad(this);
|
||||
}
|
||||
}else {
|
||||
if (!this.title.equals(CharacterTitle.NONE)) {
|
||||
this.title = CharacterTitle.NONE;
|
||||
InterestManager.forceLoad(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.isFlying()) {
|
||||
|
||||
Reference in New Issue
Block a user