forked from MineClone5/MineClone5
Fix bedrock/lava/void layers not generating at all
lvm_used was accidentally set to nil by the clay generator. OMG!
This commit is contained in:
parent
3643e9ac92
commit
caedf0649a
|
@ -996,7 +996,7 @@ local perlin_clay
|
|||
local function generate_clay(minp, maxp, seed, voxelmanip_data, voxelmanip_area, lvm_used)
|
||||
-- TODO: Make clay generation reproducible for same seed.
|
||||
if maxp.y < -5 or minp.y > 0 then
|
||||
return
|
||||
return lvm_used
|
||||
end
|
||||
|
||||
perlin_clay = perlin_clay or minetest.get_perlin({
|
||||
|
|
Loading…
Reference in New Issue