forked from MagicBane/Server
box flag situation looked into
This commit is contained in:
@@ -4873,20 +4873,20 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
}
|
||||
}
|
||||
|
||||
if(this.isBoxed) {
|
||||
if(this.title.equals(CharacterTitle.BOX) == false) {
|
||||
this.title = CharacterTitle.BOX;
|
||||
InterestManager.reloadCharacter(this);
|
||||
}
|
||||
if (this.containsEffect(1672601862) == false) {//Deathshroud
|
||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
}
|
||||
}else{
|
||||
if(this.title.equals(CharacterTitle.NONE) == false) {
|
||||
this.title = CharacterTitle.NONE;
|
||||
InterestManager.reloadCharacter(this);
|
||||
}
|
||||
}
|
||||
//if(this.isBoxed) {
|
||||
// if(this.title.equals(CharacterTitle.BOX) == false) {
|
||||
// this.title = CharacterTitle.BOX;
|
||||
// InterestManager.reloadCharacter(this);
|
||||
// }
|
||||
// if (this.containsEffect(1672601862) == false) {//Deathshroud
|
||||
// PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
// }
|
||||
// }else{
|
||||
// if(this.title.equals(CharacterTitle.NONE) == false) {
|
||||
// this.title = CharacterTitle.NONE;
|
||||
// InterestManager.reloadCharacter(this);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user