Workorders cleared with hireling removal.
This commit is contained in:
1 parent
52e0b5be4d
commit
408e3a45ca
10 files changed
+61
-48
No files matched your search
@@ -154,9 +154,11 @@ public abstract class AbstractIntelligenceAgent extends AbstractCharacter {
|
||||
|
||||
WorldGrid.RemoveWorldObject(this);
|
||||
|
||||
if (this.getObjectType() == GameObjectType.Mob)
|
||||
if (((Mob) this).getParentZone() != null)
|
||||
if (this.getObjectType() == GameObjectType.Mob) {
|
||||
if (((Mob) this).getParentZone() != null) {
|
||||
((Mob) this).getParentZone().zoneMobSet.remove(this);
|
||||
}
|
||||
}
|
||||
|
||||
} else { //revert charmed pet
|
||||
this.agentType = mbEnums.AIAgentType.MOBILE;
|
||||
|
||||
Reference in new issue
Block a user