diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 11:59:01 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 11:59:01 +0100 |
commit | 2ffd942c2ae46dc551bb5553a304764715489f19 (patch) | |
tree | 68826bbefbf1b2b7639f8820a638ecabcc3dcb3c /spawner.lua | |
parent | 27fe687f8a1fa8d12d321460dcc7f9dbe5de60b0 (diff) |
updated to newer 0.4.16 functions
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({ |