Changing PlayerItemMend's repairAmount doens't change repair:experience ratio #7449
Labels
status: accepted
Disputed bug is accepted as valid or Feature accepted as desired to be added.
type: bug
Something doesn't work as it was intended to.
Expected behavior
Changing the event's
repairAmount
would change the experience to repair amount ratio.For example, given an experience orb with value 10, this event would have
repairAmount = 20
: if I change it to 10, I expect it to consume the same 10 experience but changing the repair amount.Observed/Actual behavior
No matter what the value of
repairAmount
given, NMS' recursion onrepairPlayerItems
(on Experience Orb entity) will always give the same repair amount, making this event a bit useless.For instance, if I set
repairAmount
to 2 no matter what the initial value is, it would consume 1 experience from the orb, and recursion would call the event again until all the experience is consumed on the same 2:1 ratio.Paper version
This server is running Paper version git-Paper-187 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 0cc2503)
Other
Edit: I noticed how my understanding of Mending was wrong and updated the issue accordingly (I believe it stills needs changing)
The text was updated successfully, but these errors were encountered: