forked from mtcontrib/homedecor_modpack
fixed missing itemstack fields in on_rightclick calls in lights/doors
This commit is contained in:
parent
f8ba120425
commit
1e6ba1103b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user