diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index 4c956af2fb..fa587bf2f4 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -295,7 +295,7 @@ end --modify builtin:item -local time_to_live = tonumber(core.setting_get("item_entity_ttl")) +local time_to_live = tonumber(minetest.settings:get("item_entity_ttl")) if not time_to_live then time_to_live = 300 end diff --git a/mods/ENTITIES/mobs_mc/0_gameconfig.lua b/mods/ENTITIES/mobs_mc/0_gameconfig.lua index a609ec9b7c..6b1180b738 100644 --- a/mods/ENTITIES/mobs_mc/0_gameconfig.lua +++ b/mods/ENTITIES/mobs_mc/0_gameconfig.lua @@ -287,7 +287,7 @@ mobs_mc.spawn = { -- This table contains important spawn height references for the mob spawn height. -- Please base your mob spawn height on these numbers to keep things clean. mobs_mc.spawn_height = { - water = tonumber(minetest.setting_get("water_level")) or 0, -- Water level in the Overworld + water = tonumber(minetest.settings:get("water_level")) or 0, -- Water level in the Overworld -- Overworld boundaries (inclusive) overworld_min = -2999, diff --git a/mods/ENTITIES/mobs_mc_gameconfig/init.lua b/mods/ENTITIES/mobs_mc_gameconfig/init.lua index d504129b91..ff02ccfd83 100644 --- a/mods/ENTITIES/mobs_mc_gameconfig/init.lua +++ b/mods/ENTITIES/mobs_mc_gameconfig/init.lua @@ -216,7 +216,7 @@ mobs_mc.override.spawn = { -- This table contains important spawn height references for the mob spawn height. mobs_mc.override.spawn_height = { - water = tonumber(minetest.setting_get("water_level")) or 0, -- Water level in the Overworld + water = tonumber(minetest.settings:get("water_level")) or 0, -- Water level in the Overworld -- Overworld boundaries (inclusive) overworld_min = mcl_vars.mg_overworld_min,