mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix minetest.rotate_and_place() calling on_rightclick() with nil/random param for node
This commit is contained in:
parent
1146db9956
commit
4585e855a7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user