From: Novatux Date: Thu, 14 May 2015 14:07:19 +0000 (+0200) Subject: Fix missing argument for on_rotate X-Git-Tag: 0.4.13~67 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eae3740d85b5d8bab7bd3c32acf1c25eec9a3a04;p=oweals%2Fminetest_game.git Fix missing argument for on_rotate --- 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