minetest_x_bows/quiver.lua
2022-10-20 09:13:35 -04:00

6 lines
177 B
Lua

minetest.register_on_player_receive_fields(function(player, formname, fields)
if player and fields.quit then
XBowsQuiver:close_quiver(player, formname)
end
end)