ig you can try this

if doesn't work, you can check for the item usage percentage, if it is 100% and the player is holding trident then it goes back to less than 100% (not 0 cuz player might idk just to be safe) without changing the slot/swapping hands/interacting with their inv (click own inventory event), then they threw a trident