summaryrefslogtreecommitdiff
path: root/builtin/misc_helpers.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-01-11 17:23:28 +0100
committerNovatux <nathanael.courant@laposte.net>2014-01-11 17:23:28 +0100
commite21b29f4227581162490cc70aaf4009118544f97 (patch)
tree6bec44b3801c6800f8cb8b55e2086a681dbc26cc /builtin/misc_helpers.lua
parent3bbd280336dffc73ef43b2ac93937f320cb32872 (diff)
downloadminetest-e21b29f4227581162490cc70aaf4009118544f97.tar.gz
minetest-e21b29f4227581162490cc70aaf4009118544f97.tar.bz2
minetest-e21b29f4227581162490cc70aaf4009118544f97.zip
Deepcopy pointed_thing for after_place_node, give it to on_rightclick too.
Diffstat (limited to 'builtin/misc_helpers.lua')
-rw-r--r--builtin/misc_helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/misc_helpers.lua b/builtin/misc_helpers.lua
index 8b2d493b7..097c65865 100644
--- a/builtin/misc_helpers.lua
+++ b/builtin/misc_helpers.lua
@@ -278,7 +278,7 @@ if minetest then
local undef = minetest.registered_nodes[unode.name]
if undef and undef.on_rightclick then
undef.on_rightclick(pointed_thing.under, node, placer,
- itemstack)
+ itemstack, pointed_thing)
return
end
local pitch = placer:get_look_pitch()