[ANGRY PIXEL] The Betweenlands

[ANGRY PIXEL] The Betweenlands

24M Downloads

ItemRing#removeXp doesn't return correct value

TheCyberBrick opened this issue ยท 0 comments

commented

The method is supposed to return how much XP was actually removed. At the moment it returns the amount to be removed even if the player has no XP.
Also, should it remove from the player score? Afaik vanilla does not lower the score when XP is removed (e.g. enchanting).