-
Type:
Bug
-
Resolution: Invalid
-
Priority:
Minor
-
None
-
Affects Version/s: None
Calling updateInventory() when pulling back a bow resets the animation, making it very difficult to actually USE the bow for its intended purpose when its called. One might suggest "Don't call updateInventory() when pulling back a bow then, idiot?", but, unfortunately, if you want to cancel damage done to armor via the ItemDamageEvent, your inventory must be updated.
The above combination makes it impossible to use both the ItemDamageEvent on armor and also archery, which seems to me like it wouldn't be too uncommon a use case.
This... annoyance has been plaguing several projects that use different durability systems for some time, and I'd really appreciate it being looked at.
Thanks for your time.