LabAPI
LabAPI copied to clipboard
[BUG] InventoryExtensions.OnItemRemoved fires twice when jailbird has ran out of charges
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:
- Subscribe to InventoryExtensions.OnItemRemoved, log something
- Give yourself a Jailbird and keep charging with it until it runs out
- Check the console and compare to dropping the item without depleting it
Expected behavior: The event should fire once.