## Check if we've already used an item
execute if score @s vb.tick_data.custom_item_rc matches 1.. run scoreboard players set @s vb.tick_data.right_click 0
execute if score @s vb.tick_data.right_click matches 1.. run scoreboard players set @s vb.tick_data.custom_item_rc 1

## Open bundle
execute if score @s vb.tick_data.right_click matches 1.. run function vb:tick_player/custom_item/server_item/open_bundle
