Relevant methods made static and moved into NPCManager
This commit is contained in:
1 parent
bbdbead1ff
commit
3881c2b1d0
20 files changed
+507
-539
No files matched your search
@@ -204,8 +204,8 @@ public abstract class AbstractIntelligenceAgent extends AbstractCharacter {
|
||||
|
||||
WorldGrid.RemoveWorldObject(this);
|
||||
if (this.getObjectType() == GameObjectType.Mob){
|
||||
((Mob)this).setState(STATE.Disabled);
|
||||
if (((Mob)this).getParentZone() != null)
|
||||
((Mob)this).state = STATE.Disabled;
|
||||
if (((Mob)this).getParentZone() != null)
|
||||
((Mob)this).getParentZone().zoneMobSet.remove(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user