[nalc_doors] Corrige crash quand on enlève une porte de 3 blocs
This commit is contained in:
parent
2154ece4e2
commit
fbe7d8bcf0
|
@ -460,7 +460,7 @@ function doors.register3(name, def)
|
|||
def.after_dig_node = function(pos, node, meta, digger)
|
||||
minetest.remove_node({x = pos.x, y = pos.y + 1, z = pos.z})
|
||||
minetest.remove_node({x = pos.x, y = pos.y + 2, z = pos.z})
|
||||
nodeupdate({x = pos.x, y = pos.y + 2, z = pos.z})
|
||||
minetest.check_for_falling({x = pos.x, y = pos.y + 2, z = pos.z})
|
||||
end
|
||||
def.on_rotate = false
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user