When trying to repair two broken items, everything seem to work fine. You get a single unbroken item. You hear the nice anvil sound. And you lose your XP levels for the repair cost.
However, your have only gotten a "virtual" new repaired tool. If you do any other inventory operation -- my simplest reproducer is to just open a chest -- then your inventory reverts back to how it looked before the anvil operation, that with two broken tools. I have not tested extensively, but it seem to be the same for all kinds of items you try to repair.
Smells like an issue with the inventory "budget" system.
When trying to repair two broken items, everything seem to work fine. You get a single unbroken item. You hear the nice anvil sound. And you lose your XP levels for the repair cost.
However, your have only gotten a "virtual" new repaired tool. If you do any other inventory operation -- my simplest reproducer is to just open a chest -- then your inventory reverts back to how it looked before the anvil operation, that with two broken tools. I have not tested extensively, but it seem to be the same for all kinds of items you try to repair.
Smells like an issue with the inventory "budget" system.