mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 02:12:25 +01:00
Fix incorrect Superflat layering
This commit is contained in:
parent
076b3fe44a
commit
ca9b7d69c1
@ -28,7 +28,7 @@ else
|
||||
mcl_vars.mg_overworld_max = mcl_vars.mg_overworld_min + minecraft_height_limit
|
||||
|
||||
-- 1 perfectly flat bedrock layer
|
||||
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min
|
||||
mcl_vars.mg_bedrock_overworld_min = mcl_vars.mg_overworld_min - 2
|
||||
mcl_vars.mg_bedrock_overworld_max = mcl_vars.mg_bedrock_overworld_min
|
||||
mcl_vars.mg_bedrock_is_rough = false
|
||||
end
|
||||
|
@ -11,9 +11,9 @@ local function register_classic_superflat_biome()
|
||||
node_top = "mcl_core:dirt_with_grass",
|
||||
depth_top = 1,
|
||||
node_filler = "mcl_core:dirt",
|
||||
depth_filler = 2,
|
||||
y_min = 1,
|
||||
y_max = 31000,
|
||||
depth_filler = 3,
|
||||
y_min = -512,
|
||||
y_max = 512,
|
||||
heat_point = 50,
|
||||
humidity_point = 50,
|
||||
})
|
||||
@ -245,6 +245,9 @@ end
|
||||
--
|
||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||
if mg_name ~= "v6" and mg_name ~= "flat" then
|
||||
minetest.clear_registered_biomes()
|
||||
minetest.clear_registered_decorations()
|
||||
minetest.clear_registered_schematics()
|
||||
register_biomes()
|
||||
register_decorations()
|
||||
elseif mg_name == "flat" then
|
||||
|
Loading…
Reference in New Issue
Block a user