Skip to content
Snippets Groups Projects
Commit eae3740d authored by Novatux's avatar Novatux
Browse files

Fix missing argument for on_rotate

parent 3669ca0a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment