[nalc_doors] Corrige crash quand on enlève une porte de 3 blocs

This commit is contained in:
Sys Quatre 2019-04-26 23:06:20 +02:00
parent 2154ece4e2
commit fbe7d8bcf0

View File

@ -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