forked from Wuzzy/realtest_mt5
Fix crash when node falls
This commit is contained in:
parent
06438be3e9
commit
064fc6a59d
|
@ -99,7 +99,7 @@ realtest.register_on_updatenode(function(pos, node)
|
|||
minetest.registered_nodes[node.name].on_falling(pos, node)
|
||||
else
|
||||
minetest.remove_node(pos)
|
||||
spawn_falling_node(pos, node.name)
|
||||
minetest.spawn_falling_node(pos, node.name)
|
||||
end
|
||||
nodeupdate(pos)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue