This seems to be fixed in 1.21.5. Both when using tridents and swapping items, and when switching swords
This seems to be fixed in 1.21.5. Both when using tridents and swapping items, and when switching swords