diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index f43d8d66..9eec4af8 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -335,7 +335,10 @@ public class MobileFSM { //pet cleanup for errant pets if(mob.BehaviourType.ordinal() == Enum.MobBehaviourType.Pet1.ordinal() && mob.getOwner() == null && mob.isSiege() == false){ mob.despawn(); + DbManager.removeFromCache(mob); WorldGrid.removeObject(mob); + ZoneManager.getSeaFloor().zoneMobSet.remove(mob); + return; } if (mob.despawned && mob.getMobBase().getLoadID() == 13171) { //trebuchet spawn handler