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:longsofa", {
on_dig = unifieddyes.on_dig,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
return lrfurn.sit(pos, node, clicker, itemstack, pointed_thing, 3)
end
end,
on_destruct = lrfurn.on_seat_destruct,
})
minetest.register_craft({