1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-22 04:30:17 +02:00

re-add darkage does not generate in nether if called from watershed

This commit is contained in:
crabman77 2016-01-05 23:52:10 +01:00
parent 478874e613
commit 1d1a075a36

View File

@ -238,6 +238,7 @@ local function generate_ore(data, varea, name, wherein, minp, maxp, seed, chunks
end end
function darkage_mapgen(data, area, minp, maxp, seed) -- public function, to be used by Lua mapgens function darkage_mapgen(data, area, minp, maxp, seed) -- public function, to be used by Lua mapgens
if minp.y < -19600 then return end
local t1 = os.clock() local t1 = os.clock()
generate_claylike(data, area, "darkage:mud", minp, maxp, seed+1, 4, 0, 2, 0) generate_claylike(data, area, "darkage:mud", minp, maxp, seed+1, 4, 0, 2, 0)
generate_claylike(data, area, "darkage:silt", minp, maxp, seed+2, 4, -1, 1, 1) generate_claylike(data, area, "darkage:silt", minp, maxp, seed+2, 4, -1, 1, 1)