Reverted minecraft-like coords

This commit is contained in:
ssdaniel24 2022-09-26 16:12:27 +03:00
parent e12d2871db
commit 0a0734c5ba
1 changed files with 3 additions and 2 deletions

View File

@ -24,9 +24,10 @@ minetest.register_biome({
if mgparams.mgname == "singlenode" then if mgparams.mgname == "singlenode" then
-- minecraft-like coords: -- minecraft-like coords:
local ground_level = tonumber(minetest.settings:get("ground_level") or 44) local ground_level = tonumber(minetest.settings:get("ground_level") or 0)
local bottom_level = tonumber(minetest.settings:get("bottom_level") or 0) local bottom_level = tonumber(minetest.settings:get("bottom_level") or
(ground_level - 43))
-- original world is 256x256 square: -- original world is 256x256 square:
local world_width = tonumber(minetest.settings:get("world_width") or 256) local world_width = tonumber(minetest.settings:get("world_width") or 256)