advancement revoke @s only subchronos:supply_drop

#Cooldown
    execute if score @s supplyDropCooldown matches 1.. run return run scoreboard players set @s supplyDropCooldown 2
    scoreboard players set @s supplyDropCooldown 2

execute align xyz positioned ~.5 ~30 ~.5 run function subchronos:game/items/supply_drop/gen_drop

#Removes the used fireball
    execute unless data entity @s SelectedItem.components."minecraft:custom_data"{supply_drop:1b} run item modify entity @s weapon.offhand subchronos:-1
    execute if data entity @s SelectedItem.components."minecraft:custom_data"{supply_drop:1b} run item modify entity @s weapon.mainhand subchronos:-1