forked from MagicBane/Server
box flag checker
This commit is contained in:
@@ -435,7 +435,7 @@ public class Building extends AbstractWorldObject {
|
||||
int index = 0;
|
||||
for (AbstractCharacter hireling : this.hirelings.keySet()) {
|
||||
hireling.setLoc(BuildingManager._slotLocations.get(newMeshUUID).get(index).getLocation());
|
||||
InterestManager.reloadCharacter(hireling);
|
||||
InterestManager.reloadCharacter(hireling,false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4876,7 +4876,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
if (this.isBoxed) {
|
||||
if (this.title.equals(CharacterTitle.BOX) == false) {
|
||||
this.title = CharacterTitle.BOX;
|
||||
InterestManager.reloadCharacter(this);
|
||||
InterestManager.reloadCharacter(this,true);
|
||||
}
|
||||
if (this.containsEffect(1672601862) == false) {//Deathshroud
|
||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
@@ -4884,7 +4884,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
} else {
|
||||
if (this.title.equals(CharacterTitle.NONE) == false) {
|
||||
this.title = CharacterTitle.NONE;
|
||||
InterestManager.reloadCharacter(this);
|
||||
InterestManager.reloadCharacter(this,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user