If the first "if" is true, the thing I do in the "else if" would crash with a null pointer exception. The point is that not all register villager types will have a registered spawn condition, but that should not exclude them from spawning.