fixed missing itemstack fields in on_rightclick calls in lights/doors

This commit is contained in:
Vanessa Ezekowitz 2013-06-07 13:33:37 -04:00
parent f8ba120425
commit 1e6ba1103b
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ function homedecor_place_door(itemstack, placer, pointed_thing, name, side)
end
end
else
minetest.registered_nodes[pname].on_rightclick(pointed_thing.under, pnode, placer)
minetest.registered_nodes[pname].on_rightclick(pointed_thing.under, pnode, placer, itemstack)
end
end

View File

@ -43,7 +43,7 @@ function homedecor_rotate_and_place(itemstack, placer, pointed_thing)
return itemstack
end
else
minetest.registered_nodes[node.name].on_rightclick(pointed_thing.under, node, placer)
minetest.registered_nodes[node.name].on_rightclick(pointed_thing.under, node, placer, itemstack)
end
end