We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3669ca0 commit eae3740Copy full SHA for eae3740
mods/screwdriver/init.lua
@@ -53,7 +53,7 @@ local function screwdriver_handler(itemstack, user, pointed_thing, mode)
53
-- Copy pos and node because callback can modify it
54
local result = ndef.on_rotate(vector.new(pos),
55
{name = node.name, param1 = node.param1, param2 = node.param2},
56
- user, mode)
+ user, mode, new_param2)
57
if result == false then -- Disallow rotation
58
return
59
elseif result == true then
0 commit comments