From 1d1a075a360bc2e82cc9a139b291c09fe5554985 Mon Sep 17 00:00:00 2001 From: crabman77 Date: Tue, 5 Jan 2016 23:52:10 +0100 Subject: [PATCH] re-add darkage does not generate in nether if called from watershed --- mods/darkage/mapgen.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/darkage/mapgen.lua b/mods/darkage/mapgen.lua index 22f3d387..51b4a3a4 100755 --- a/mods/darkage/mapgen.lua +++ b/mods/darkage/mapgen.lua @@ -238,6 +238,7 @@ local function generate_ore(data, varea, name, wherein, minp, maxp, seed, chunks end 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() 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)