From eae3740d85b5d8bab7bd3c32acf1c25eec9a3a04 Mon Sep 17 00:00:00 2001 From: Novatux Date: Thu, 14 May 2015 16:07:19 +0200 Subject: [PATCH] Fix missing argument for on_rotate --- mods/screwdriver/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/screwdriver/init.lua b/mods/screwdriver/init.lua index bccc9fbc..0c77754e 100644 --- a/mods/screwdriver/init.lua +++ b/mods/screwdriver/init.lua @@ -53,7 +53,7 @@ local function screwdriver_handler(itemstack, user, pointed_thing, mode) -- Copy pos and node because callback can modify it local result = ndef.on_rotate(vector.new(pos), {name = node.name, param1 = node.param1, param2 = node.param2}, - user, mode) + user, mode, new_param2) if result == false then -- Disallow rotation return elseif result == true then