This commit is contained in:
SmallJoker
2019-01-02 22:06:07 +01:00
parent b7d69a8487
commit fa304f9d18
3 changed files with 14 additions and 15 deletions

View File

@ -51,3 +51,10 @@ function biome_lib:find_open_side(pos)
end
return nil
end
-- "Record" the chunks being generated by the core mapgen
minetest.register_on_generated(function(minp, maxp, blockseed)
biome_lib.blocklist_aircheck[#biome_lib.blocklist_aircheck + 1] = { minp, maxp }
biome_lib.blocklist_no_aircheck[#biome_lib.blocklist_no_aircheck + 1] = { minp, maxp }
end)