|
|
@ -335,7 +335,10 @@ public class MobileFSM { |
|
|
|
//pet cleanup for errant pets
|
|
|
|
//pet cleanup for errant pets
|
|
|
|
if(mob.BehaviourType.ordinal() == Enum.MobBehaviourType.Pet1.ordinal() && mob.getOwner() == null && mob.isSiege() == false){ |
|
|
|
if(mob.BehaviourType.ordinal() == Enum.MobBehaviourType.Pet1.ordinal() && mob.getOwner() == null && mob.isSiege() == false){ |
|
|
|
mob.despawn(); |
|
|
|
mob.despawn(); |
|
|
|
|
|
|
|
DbManager.removeFromCache(mob); |
|
|
|
WorldGrid.removeObject(mob); |
|
|
|
WorldGrid.removeObject(mob); |
|
|
|
|
|
|
|
ZoneManager.getSeaFloor().zoneMobSet.remove(mob); |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (mob.despawned && mob.getMobBase().getLoadID() == 13171) { |
|
|
|
if (mob.despawned && mob.getMobBase().getLoadID() == 13171) { |
|
|
|
//trebuchet spawn handler
|
|
|
|
//trebuchet spawn handler
|
|
|
|