Skip to content

[BUG]: UsedItem does not fire when animation cancelling a Painkiller #383

@cg-223

Description

@cg-223

Before You Report

  • I have searched for existing reports of this bug, and this bug report is unique.

Version

1.1.6

Description

Painkillers can be used while not waiting through the whole animation by equipping another item as the animation is about to finish.
This has the effect of still consuming the painkiller (the item disappears and you get the HP regen) while UsedItem does not fire.

To Reproduce

  • Use a plugin to log when UsedItem fires
  • Use a painkiller (observe UsedItem firing)
  • Use a painkiller, but equip another item before the animation can finish (observe UsedItem not firing)

Expected Behavior

UsedItem should always fire regardless of whether the animation is cancelled or not

Additional Information

no applicable logs, video demonstration

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions