diff --git a/mods/screwdriver/init.lua b/mods/screwdriver/init.lua index d898cb9f..383d29cd 100644 --- a/mods/screwdriver/init.lua +++ b/mods/screwdriver/init.lua @@ -67,7 +67,7 @@ screwdriver.handler = function(itemstack, user, pointed_thing, mode, uses) if not ndef or not ndef.paramtype2 == "facedir" or ndef.on_rotate == false or (ndef.drawtype == "nodebox" and - not ndef.node_box.type == "fixed") or + (ndef.node_box and ndef.node_box.type ~= "fixed")) or node.param2 == nil then return end