Made minecraft-like coords (zero in bottom)

This commit is contained in:
ssdaniel24 2022-09-25 13:19:01 +03:00
parent c5da2c9c8f
commit 4a96973b50
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ minetest.register_biome({
if mgparams.mgname == "singlenode" then
local ground_level = tonumber(minetest.settings:get("water_level") or 1)
-- minecraft-like coords:
local ground_level = tonumber(minetest.settings:get("ground_level") or 44)
local air = minetest.get_content_id("air")
local stone = minetest.get_content_id("minecraft:stone")
local grass = minetest.get_content_id("minecraft:grass")