Browse Source

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

tags/nalc-1.1
sys4 1 year ago
parent
commit
fbe7d8bcf0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nalc_doors/init.lua

+ 1
- 1
nalc_doors/init.lua 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



Loading…
Cancel
Save