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:
Wuzzy 2017-09-12 18:09:26 +02:00
parent 3643e9ac92
commit caedf0649a

View File

@ -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({