From b291b1587d39206458809a324817595a4706f4ca Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Thu, 28 May 2015 18:30:18 +0200 Subject: [PATCH] Fixed screwdriver by adding missing API snippets - Added missing snippets to the mithril screwdriver. Solves #67 --- mods/screwdriver/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/screwdriver/init.lua b/mods/screwdriver/init.lua index b2249d87..5a483c05 100755 --- a/mods/screwdriver/init.lua +++ b/mods/screwdriver/init.lua @@ -106,11 +106,11 @@ minetest.register_tool("screwdriver:screwdriver_perfect", { description = "Perfect Screwdriver (left-click rotates face, right-click rotates axis)", inventory_image = "screwdriver_perfect.png", on_use = function(itemstack, user, pointed_thing) - screwdriver_handler(itemstack, user, pointed_thing, ROTATE_FACE) + screwdriver_handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE) return itemstack end, on_place = function(itemstack, user, pointed_thing) - screwdriver_handler(itemstack, user, pointed_thing, ROTATE_AXIS) + screwdriver_handler(itemstack, user, pointed_thing, screwdriver.ROTATE_AXIS) return itemstack end, })