From c055d88f594ccc71d5eae9f50ebc0cec6261b1ce Mon Sep 17 00:00:00 2001 From: kay27 Date: Sat, 5 Mar 2022 00:02:03 +0400 Subject: [PATCH] Fix classic superflat mapgen mode --- mods/CORE/mcl_mapgen/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/mcl_mapgen/init.lua b/mods/CORE/mcl_mapgen/init.lua index f24d76880..4aca65f54 100644 --- a/mods/CORE/mcl_mapgen/init.lua +++ b/mods/CORE/mcl_mapgen/init.lua @@ -416,7 +416,7 @@ mcl_mapgen.bedrock_is_rough = normal overworld.min = -62 if superflat then mcl_mapgen.ground = tonumber(minetest.get_mapgen_setting("mgflat_ground_level")) or 8 - overworld.min = ground - 3 + overworld.min = mcl_mapgen.ground - 3 end -- if singlenode then mcl_mapgen.overworld.min = -66 end -- DONT KNOW WHY overworld.max = mcl_mapgen.EDGE_MAX