summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a7a8f6b1c..9c7349726 100644
--- a/builtin/misc_helpers.lua
+++ b/builtin/misc_helpers.lua
@@ -257,7 +257,7 @@ if minetest then
end
local undef = minetest.registered_nodes[unode.name]
if undef and undef.on_rightclick then
- undef.on_rightclick(pointed_thing.under, node, placer,
+ undef.on_rightclick(pointed_thing.under, unode, placer,
itemstack, pointed_thing)
return
end