diff options
Diffstat (limited to 'spawner.lua')
-rw-r--r-- | spawner.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spawner.lua b/spawner.lua index 7e75aac..ca75dee 100644 --- a/spawner.lua +++ b/spawner.lua @@ -74,7 +74,7 @@ minetest.register_node("mobs:spawner", { }) -local max_per_block = tonumber(minetest.setting_get("max_objects_per_block") or 99) +local max_per_block = tonumber(minetest.settings:get("max_objects_per_block") or 99) -- spawner abm minetest.register_abm({ |