if(loc != null)
{
PathfinderInstance npc = new PathfinderInstance(IdFactory.getInstance().getNextId(), NpcHolder.getInstance().getTemplate(PATHFINDER));
npc.setSpawnedLoc(Location.parseLoc(loc));
npc.setReflection(KamalokaNightmare.this);
npc.spawnMe(npc.getSpawnedLoc());
}
}
}
else
collapse();