1
0
Fork 0

using water level for mapgen cutoff too

mineclone_compatibility
FaceDeer 2017-01-26 23:03:27 -07:00
parent 32b11a29d1
commit 151d2e034b
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ if springs then
-- Turn mapgen clay into spring clay
minetest.register_on_generated(function(minp, maxp, seed)
if minp.y >= 0 or maxp.y <= -15 then
if minp.y >= water_level or maxp.y <= -15 then
return
end
local vm, emin, emax = minetest.get_mapgen_object("voxelmanip")