Fix weird error adjust NPCs

NPCs are only entities if they are spawned.