1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Don't assert default biomes in spawn mod

fixes #3124
This commit is contained in:
sfan5
2024-09-08 22:07:20 +02:00
committed by GitHub
parent 2ce8ff3306
commit 7967f77f3b

View File

@ -36,7 +36,10 @@ end
for _, name in ipairs({
"taiga", "coniferous_forest", "deciduous_forest", "grassland", "savanna"
}) do
spawn.add_suitable_biome(name)
local id = minetest.get_biome_id(name)
if id then
biome_ids[id] = true
end
end
-- End of parameters