Use biomegen.generate_all

This commit is contained in:
Gael-de-Sailly 2020-11-11 13:58:23 +01:00
parent 3792cd5dc8
commit 7acd0af550

View File

@ -211,16 +211,10 @@ local function generate(minp, maxp, seed)
end end
if use_biomegen_mod then if use_biomegen_mod then
biomegen.generate_biomes(data, a, minp, maxp) biomegen.generate_all(data, a, vm, minp, maxp, seed)
end
vm:set_data(data)
if use_biomegen_mod then
biomegen.place_all_decos(data, a, vm, minp, maxp, seed)
minetest.generate_ores(vm, minp, maxp)
vm:get_data(data)
biomegen.dust_top_nodes(vm, data, a, minp, maxp)
else else
minetest.generate_ores(vm, minp, maxp) vm:set_data(data)
mietest.generate_ores(vm, minp, maxp)
end end
vm:set_lighting({day = 0, night = 0}) vm:set_lighting({day = 0, night = 0})