I work into OnInventoryUpdate(..), and the quantity is not known at this moment, just itemLink.
|
You DO get the quantity from the inventory update event.
EVENT_INVENTORY_SINGLE_SLOT_UPDATE (number eventCode, Bag bagId, number slotId, boolean isNewItem, ItemUISoundCategory itemSoundCategory, number inventoryUpdateReason,
number stackCountChange)