1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 12:46:02 +02:00

Update 'nodeupdate()' to 'check_for_falling()' API

This commit is contained in:
paramat
2016-11-22 04:45:31 +00:00
parent 208c9f4901
commit 09a229b412
6 changed files with 8 additions and 8 deletions

View File

@ -364,7 +364,7 @@ function doors.register(name, def)
end
def.after_dig_node = function(pos, node, meta, digger)
minetest.remove_node({x = pos.x, y = pos.y + 1, z = pos.z})
nodeupdate({x = pos.x, y = pos.y + 1, z = pos.z})
minetest.check_for_falling({x = pos.x, y = pos.y + 1, z = pos.z})
end
def.on_rotate = false