Steps to Reproduce:
Find/place water anywhere (and ensure it isn’t raining)
Give yourself a Trident and enchant it with Riptide
Enter the body of water and hold down right click
Leave the water without releasing right click
Observed Results:
Trident stays raised, despite being unusable in the player’s current state
Expected Results:
Trident lowers to indicate that it is no longer usable
Bows also stay charged if arrows are removed from the player’s inventory with commands before releasing right click to fire the arrow. (Releasing right click behaves as expected, not shooting an arrow the player doesn’t have)