Limit abm calls further

master
PilzAdam 2013-02-16 15:44:21 +01:00
parent b0aad547a2
commit eab37a1422
1 changed files with 1 additions and 1 deletions

View File

@ -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)