Fix crash on 1.6.2 with new world gen feature.