mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Fix incorrect Superflat layering
This commit is contained in:
parent
076b3fe44a
commit
ca9b7d69c1
2 changed files with 7 additions and 4 deletions
|
@ -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 a new issue