Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Several fixes and new api for experience merging/stacking

Open Machine-Maker opened this issue 2 years ago • 4 comments

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

Machine-Maker avatar May 31 '23 15:05 Machine-Maker

@Phoenix616 HMMM, this might be a vanilla bug? cause it does exactly that in vanilla. image

I will do some testing in vanilla right now.

Machine-Maker avatar Jun 01 '23 15:06 Machine-Maker

@Machine-Maker Probably, yeah.

Phoenix616 avatar Jun 01 '23 15:06 Phoenix616

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.

Machine-Maker avatar Jun 01 '23 16:06 Machine-Maker

Ok, added a fix for that issue and reported it to the mojira (MC-263123)

Machine-Maker avatar Jun 01 '23 17:06 Machine-Maker