mirror of
https://gitlab.com/gaelysam/mapgen_rivers.git
synced 2024-12-29 12:20:41 +01:00
Use biomegen.make_void_maps if present.
(latest version of biomegen)
This commit is contained in:
parent
a91a13bbec
commit
0e3c83e1d2
@ -134,6 +134,9 @@ function mapgen_rivers.make_chunk(minp, maxp, seed)
|
|||||||
|
|
||||||
minetest.log("verbose", "[mapgen_rivers] Skipping empty chunk (fully above ground level)")
|
minetest.log("verbose", "[mapgen_rivers] Skipping empty chunk (fully above ground level)")
|
||||||
minetest.log("verbose", ("[mapgen_rivers] Done in %5.3f s"):format(t))
|
minetest.log("verbose", ("[mapgen_rivers] Done in %5.3f s"):format(t))
|
||||||
|
if use_biomegen_mod and biomegen.make_void_maps then
|
||||||
|
biomegen.make_void_maps(minp, maxp)
|
||||||
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user