1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

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
end end
else 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
end end

View File

@ -43,7 +43,7 @@ function homedecor_rotate_and_place(itemstack, placer, pointed_thing)
return itemstack return itemstack
end end
else 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
end end