mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +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
1 changed files with 1 additions and 1 deletions
|
@ -996,7 +996,7 @@ local perlin_clay
|
||||||
local function generate_clay(minp, maxp, seed, voxelmanip_data, voxelmanip_area, lvm_used)
|
local function generate_clay(minp, maxp, seed, voxelmanip_data, voxelmanip_area, lvm_used)
|
||||||
-- TODO: Make clay generation reproducible for same seed.
|
-- TODO: Make clay generation reproducible for same seed.
|
||||||
if maxp.y < -5 or minp.y > 0 then
|
if maxp.y < -5 or minp.y > 0 then
|
||||||
return
|
return lvm_used
|
||||||
end
|
end
|
||||||
|
|
||||||
perlin_clay = perlin_clay or minetest.get_perlin({
|
perlin_clay = perlin_clay or minetest.get_perlin({
|
||||||
|
|
Loading…
Reference in a new issue