super.onSpawn();
// Notify Leader that Minion has Spawned
getLeader().notifyMinionSpawned(this);
// check the region where this mob is, do not activate the AI if region is inactive.
L2WorldRegion region = L2World.getInstance().getRegion(getX(), getY());
if(region != null && !region.isActive())
{
((L2AttackableAI) getAI()).stopAITask();
}
region = null;
}