[X] I'm using the very latest version of ItemsAdder and its dependencies.
[X] I already searched on this Github page to check if the same issue was already reported.
[X] I already searched on the plugin wiki to know if a solution is already known.
[X] I already asked on the #💬ia-community-help channel on Discord to know if anyone already has a solution for the issue.
Discord tag (optional)
Kotori Itsuka#2222
What happened?
First Bug: When you not have enough XP for repairing diamond hammer, then hammer and the durability will set to (negative durability) -1561 and it take XP from player.
Second Bug: When you try to repair your (whatever tool) without needed XP for example diamond hammer, then you will lose your diamonds. (or whatever material)
Steps to reproduce the issue
Take whatever tool from IA for example Diamond Hammer.
Try to repair the tool with 0 XP.
Server version
Paper 1.17.1
ItemsAdder Version
2.4.19b
ProtocolLib Version
4.7.0
LoneLibs Version
1.0.15
LightAPI Version (optional)
We Don't have LightAPI because its 1.17.1 and its not working anymore.
Terms
Discord tag (optional)
Kotori Itsuka#2222
What happened?
First Bug: When you not have enough XP for repairing diamond hammer, then hammer and the durability will set to (negative durability) -1561 and it take XP from player.
Second Bug: When you try to repair your (whatever tool) without needed XP for example diamond hammer, then you will lose your diamonds. (or whatever material)
Steps to reproduce the issue
Server version
Paper 1.17.1
ItemsAdder Version
2.4.19b
ProtocolLib Version
4.7.0
LoneLibs Version
1.0.15
LightAPI Version (optional)
We Don't have LightAPI because its 1.17.1 and its not working anymore.
LibsDisguises Version (optional)
Don't have.
FULL server log
latest.log
Error (optional)
No response
ItemsAdder config.yml
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
https://user-images.githubusercontent.com/94983010/143277216-d8670a81-53dd-4a2b-bea7-25ce5af8cfd7.mp4