mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
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
Block a user