1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-20 22:30:23 +02:00

free player when seat is dug (#84)

This commit is contained in:
wsor4035
2024-11-06 23:32:14 -05:00
committed by GitHub
parent d8ae7a360d
commit 94e25c2192
5 changed files with 32 additions and 11 deletions

View File

@ -47,7 +47,8 @@ minetest.register_node(":lrfurn:sofa", {
on_dig = unifieddyes.on_dig,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
return lrfurn.sit(pos, node, clicker, itemstack, pointed_thing, 2)
end
end,
on_destruct = lrfurn.on_seat_destruct,
})
minetest.register_craft({