forked from mtcontrib/pipeworks
fix missing argument when calling on_rightclick
This commit is contained in:
parent
cec6049dd1
commit
e082ea473b
@ -28,7 +28,9 @@ function pipeworks.rotate_on_place(itemstack, placer, pointed_thing)
|
||||
if (not placer:get_player_control().sneak)
|
||||
and minetest.registered_nodes[node.name]
|
||||
and minetest.registered_nodes[node.name].on_rightclick then
|
||||
minetest.registered_nodes[node.name].on_rightclick(pointed_thing.under, node, placer, itemstack)
|
||||
minetest.registered_nodes[node.name].on_rightclick(pointed_thing.under,
|
||||
node, placer, itemstack, pointed_thing)
|
||||
|
||||
else
|
||||
|
||||
local pitch = placer:get_look_pitch()
|
||||
|
Loading…
Reference in New Issue
Block a user