summaryrefslogtreecommitdiff
path: root/spawner.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-10-09 11:59:01 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-10-09 11:59:01 +0100
commit2ffd942c2ae46dc551bb5553a304764715489f19 (patch)
tree68826bbefbf1b2b7639f8820a638ecabcc3dcb3c /spawner.lua
parent27fe687f8a1fa8d12d321460dcc7f9dbe5de60b0 (diff)
updated to newer 0.4.16 functions
Diffstat (limited to 'spawner.lua')
-rw-r--r--spawner.lua2
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({