From eab37a142282e599100ed82b5239b39b748dddcd Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sat, 16 Feb 2013 15:44:21 +0100 Subject: [PATCH] Limit abm calls further --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 28eb8e3..1a38ed0 100644 --- a/api.lua +++ b/api.lua @@ -318,7 +318,7 @@ function mobs:register_spawn(name, nodes, max_light, min_light, chance, active_o mobs.spawning_mobs[name] = true minetest.register_abm({ nodenames = nodes, - neighbors = nodes, + neighbors = {"air"}, interval = 30, chance = chance, action = function(pos, node, _, active_object_count_wider)