Update 'nodeupdate()' to 'check_for_falling()' API
This commit is contained in:
parent
208c9f4901
commit
09a229b412
6 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue