Fix screwdriver duplication glitch

This commit is contained in:
Wuzzy 2020-07-10 19:23:06 +02:00
parent b7e4a1e9b5
commit 3c37d2874e

View file

@ -212,8 +212,6 @@ minetest.register_node("mcl_itemframes:item_frame",{
end end
return return
elseif mode == screwdriver.ROTATE_AXIS then elseif mode == screwdriver.ROTATE_AXIS then
-- Place screwdriver into itemframe
minetest.registered_nodes["mcl_itemframes:item_frame"].on_rightclick(pos, node, user, ItemStack("screwdriver:screwdriver"))
return false return false
end end
end, end,