Crash when clicking "Presets" after setting the superflat preset with a non-existent biome
Crash when you click "Presets" after replacing the "minecraft:plains" to a non-existent biome in the superflat customization menu
I was creating a world called "Nether" with Superflat, I replaced "minecraft:plains" to "minecraft:the_nether" to see if the piglins won't turn to zombified piglins, I clicked "Done" and clicked "Presets" again to see if "minecraft:the_nether" doesn't has turn onto "minecraft:plains" again, and The Game Crashed
What I expected to happen was:
When I click presets after replacing it, it should resets to default.
What happened was:
It crashed after I press presets.
How to reproduce:
Create a new world in Superflat click on Customize, after click on Presets replace the biome from "minecraft:plains" to a non-existent biome in the superflat customization menu after click on Done and Presets again and see if it crash(If you press cancel it won't crash)