Closed srnyx closed 2 years ago
Should be fixed in the next update
events:
eat:
feed:
amount: 9
saturation: 2.8
decrement_usages:
amount: 1
durability:
usages: 2
No need to cancel, it will be handled under the hood automatically.
Terms
Discord tag (optional)
srnyx#0001
What happened?
If you have usages set up on an item and make it decrement usages on the
eat
event, it won't work.Steps to reproduce the issue
resource.material
durability.usages.2
to the itemevents.eat.decrement_usages.amount.1
to the itemUsages: 2 / 2
or anything.Server version
git-Purpur-1592 (MC: 1.18.2)
ItemsAdder Version
3.4.1b
ProtocolLib Version
4.8.0
LoneLibs Version
1.0.18
LightAPI Version (optional)
bukkit-5.2.0 (build SNAPSHOT)
LibsDisguises Version (optional)
10.0.28
ItemsAdder config.yml
Problematic items yml configuration file (optional)