fix passing node param

This commit is contained in:
whosit 2024-02-13 08:59:21 +03:00
parent 468154acb1
commit ff729567fa

View File

@ -98,10 +98,10 @@ minetest.register_node("yl_dice:dice", {
palette = "yl_dice_6_palette.png",
on_construct = function(pos)
roll_dice(pos, node)
roll_dice(pos)
end,
on_rightclick = function(pos, node, puncher, itemstack, pointed_thing)
roll_dice(pos)
roll_dice(pos, node)
end,
})