mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 14:55:13 -05: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