Update falling nodes detection in order to avoid crash

This commit is contained in:
sys4-fr 2018-03-26 19:50:35 +02:00
parent c066cedd2e
commit 145a73188c
1 changed files with 1 additions and 1 deletions

View File

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