From e21b29f4227581162490cc70aaf4009118544f97 Mon Sep 17 00:00:00 2001 From: Novatux Date: Sat, 11 Jan 2014 17:23:28 +0100 Subject: Deepcopy pointed_thing for after_place_node, give it to on_rightclick too. --- builtin/misc_helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/misc_helpers.lua') 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() -- cgit v1.2.3