diff --git a/mods/doors/init.lua b/mods/doors/init.lua index ae257fb6..61d48c1d 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -376,7 +376,9 @@ function doors.register(name, def) minetest.remove_node({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 + def.on_rotate = function(pos, node, user, mode, new_param2) + return false + end if def.protected then def.can_dig = can_dig_door