From 2ffd942c2ae46dc551bb5553a304764715489f19 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 9 Oct 2017 11:59:01 +0100 Subject: updated to newer 0.4.16 functions --- spawner.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spawner.lua') 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({ -- cgit v1.2.3