it works for enderpearls but it doesnt on wind charges. What am i doing wrong?
[_cooldown]: 10 seconds
on rightclick with wind charge:
set [cooldown] to difference between [breeze.%player%.eused]
if [cooldown] is less than 10 seconds:
cancel event
else:
set [cooldown] to 10
send action bar "&c10 Seconds remaining &lBREEZE BALL"
wait 1 Seconds
send action bar "&c9 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c8 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c7 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c6 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c5 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c4 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c3 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c2 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&c1 Seconds remaining &lBREEZE BALL"
wait 1 seconds
send action bar "&cBreeze Ball is ready"```