Skip to content
Permalink
Browse files

Fix minetest.rotate_and_place() calling on_rightclick() with nil/rand…

…om param for node
  • Loading branch information
PilzAdam committed Jan 19, 2014
1 parent 1146db9 commit 4585e855a7fe63f4b820d7551a39ac9825b4cb1d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 4585e85

Please sign in to comment.
You can’t perform that action at this time.