From 5e4a6e8ac68b92c7394b80bb67839b71b4a4a00b Mon Sep 17 00:00:00 2001 From: paramat Date: Wed, 28 Sep 2016 22:09:50 +0100 Subject: [PATCH] Doors: Remove ability to rotate doors with screwdrivers Rotating doors with screwdrivers causes too many issues to be worth it. --- mods/doors/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 73a73a13..7a8006c6 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -366,7 +366,7 @@ function doors.register(name, def) minetest.remove_node({x = pos.x, y = pos.y + 1, z = pos.z}) nodeupdate({x = pos.x, y = pos.y + 1, z = pos.z}) end - def.on_rotate = screwdriver and screwdriver.rotate_simple or false + def.on_rotate = false if def.protected then def.can_dig = can_dig_door -- 2.25.1