diff --git a/spawners_mobs/spawners_mobs.lua b/spawners_mobs/spawners_mobs.lua index f13a95c..29553b0 100644 --- a/spawners_mobs/spawners_mobs.lua +++ b/spawners_mobs/spawners_mobs.lua @@ -1,4 +1,4 @@ -local max_obj_per_mapblock = tonumber(minetest.setting_get("max_objects_per_block")) +local max_obj_per_mapblock = tonumber(minetest.settings:get("max_objects_per_block")) -- -- * CREATE ALL SPAWNERS NODES *