replace deprecated 'nodeupdate' with 'check_for_falling' to remove warnings from the logs

This commit is contained in:
Juraj Vajda 2016-11-21 08:53:13 +01:00
parent 8f179b6607
commit 4d1c3a37e2

View File

@ -18,7 +18,7 @@ trap_on_timer = function (pos, elapsed)
if n and n.name then
if minetest.registered_nodes[n.name].crack and minetest.registered_nodes[n.name].crack < 2 then
minetest.set_node(pos, {name="spawners_env:trap_2"})
nodeupdate(pos)
check_for_falling(pos)
end
end
end