Skip to content
Snippets Groups Projects
Commit b4b24687 authored by Auke Kok's avatar Auke Kok Committed by Milan
Browse files

cherry-pick from github.com/minetest/minetest_game> Doors: Pass pointed_thing...

cherry-pick from github.com/minetest/minetest_game> Doors: Pass pointed_thing to on_rightclick() callback
parent 37d3fe0c
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ function doors.register(name, def)
local pdef = minetest.registered_nodes[node.name]
if pdef and pdef.on_rightclick then
return pdef.on_rightclick(pointed_thing.under,
node, placer, itemstack)
node, placer, itemstack, pointed_thing)
end
if pdef and pdef.buildable_to then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment