Steps to Reproduce:
- Obtain a damaged item
- Enchant the item with Mending
- Summon some experience orbs far from the player
- Switch to Survival mode
- Move towards the experience orbs while holding the Mending item
The experience sometimes goes to the experience bar and sometimes to the item.
The experience should only go to the item until it is fully repaired.
Well I am using either my skeleton or my enderman farm for levels the levels are going mainly into my level bar and not my tools or armor first