Skip to content

Commit eae3740

Browse files
committedMay 14, 2015
Fix missing argument for on_rotate
1 parent 3669ca0 commit eae3740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎mods/screwdriver/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ local function screwdriver_handler(itemstack, user, pointed_thing, mode)
5353
-- Copy pos and node because callback can modify it
5454
local result = ndef.on_rotate(vector.new(pos),
5555
{name = node.name, param1 = node.param1, param2 = node.param2},
56-
user, mode)
56+
user, mode, new_param2)
5757
if result == false then -- Disallow rotation
5858
return
5959
elseif result == true then

0 commit comments

Comments
 (0)
Please sign in to comment.