The bug
When you cast a fishing rod and swap items with another fishing rod the player is still fishing.
Other items might be affected as well.
How to reproduce
Place an unused fishing rod in your mainhand and your offhand
Select the fishing rod in your mainhand and cast it
Press
F
to swap the itemsStop fishing
You will see that the fishing rod which was at the beginning in your offhand (which is now in your mainhand) gets damaged
Linked issues
Comments 3
Looks rather like a duplicate MC-13518
Relates to MC-13518