summaryrefslogtreecommitdiff
path: root/homedecor/furniture.lua
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor/furniture.lua')
-rw-r--r--homedecor/furniture.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/homedecor/furniture.lua b/homedecor/furniture.lua
index 338a95c..fd79351 100644
--- a/homedecor/furniture.lua
+++ b/homedecor/furniture.lua
@@ -84,9 +84,10 @@ for i in ipairs(chaircolors) do
collision_box = kc_cbox,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
- on_rightclick = function(pos, node, clicker)
+ on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
pos.y = pos.y+0 -- where do I put my ass ?
homedecor.sit(pos, node, clicker)
+ return itemstack
end
})