LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[BUG] InventoryExtensions.OnItemRemoved fires twice when jailbird has ran out of charges

Open ardaboyroo opened this issue 1 year ago • 0 comments

Description: The InventoryExtensions.OnItemRemoved event fires twice when the Jailbird runs out of charges and is removed from the player's inventory.


Steps to reproduce:

  1. Subscribe to InventoryExtensions.OnItemRemoved, log something
  2. Give yourself a Jailbird and keep charging with it until it runs out
  3. Check the console and compare to dropping the item without depleting it

Expected behavior: The event should fire once.

ardaboyroo avatar May 29 '25 17:05 ardaboyroo