Glitchfiend / TerraBlender

TerraBlender is a library mod for adding biomes in a simple and compatible manner with Minecraft's new biome/terrain system.
https://www.curseforge.com/minecraft/mc-mods/terrablender
GNU Lesser General Public License v3.0
91 stars 29 forks source link

[1.20.1] Fix crash when biomes have been disabled via modloader methods. #168

Closed MerchantPug closed 4 months ago

MerchantPug commented 4 months ago

This only really affects Forge right now, because Fabric only gained loading conditions to datapack registries in 1.20.6, but the game crashes if you disable a biome with loading conditions via the forge:conditions json array. This fixes this crash.

Tested with this line added to biomesoplenty:bog

{
    "forge:conditions": [
        {
            "type": "forge:false"
        }
    ]
}