Sitdown with rightclick added.

This commit is contained in:
A.C.M 2018-10-17 20:59:18 +02:00
parent b5db59d5bc
commit 7bde7ff5a5

View File

@ -39,8 +39,14 @@ minetest.register_node("barchairs:barchairs_round_padded",
end,
after_dig_node = unifieddyes.after_dig_node,
on_rotate = unifieddyes.fix_after_screwdriver_nsew,
--on_rightclick = function(pos, node, player, itemstack, pointed_thing)
--end,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
if not clicker:is_player() then
return itemstack
end
pos.y = pos.y-0.5
clicker:setpos(pos)
return itemstack
end
})
dofile(modpath .. "/recipes.lua")