Several fixes and new api for experience merging/stacking
Fixes https://github.com/PaperMC/Paper/issues/9239 Resolves https://github.com/PaperMC/Paper/issues/9241 Fix (partially): https://github.com/PaperMC/Paper/issues/9240
Probably should be merged with https://github.com/PaperMC/Paper/pull/7382
@Phoenix616 HMMM, this might be a vanilla bug? cause it does exactly that in vanilla.
I will do some testing in vanilla right now.
@Machine-Maker Probably, yeah.
Yeah, it is. If I wear two pieces of armor that have 20 damage, and I spawn an xp orb with 11 xp value, it fully repairs both pieces of armor, when it actually should only repair 22 total durability (value * 2). I'm pretty sure that's gonna be a bug.
Ok, added a fix for that issue and reported it to the mojira (MC-263123)