Serious bug in _classic_ GetItemCount
Am I going nuts?
count = GetItemCount(itemID or "itemName" or "itemLink"[, includeBank][, includeCharges])
includeBank
Boolean - true: count includes bank items
In _retail_, GetItemCount("itemName") gives number in inventory, GetItemCount("itemName",true) gives number in both, and GetItemCount("itemName",false) gives number in inventory.
In _classic_ it should work the same way, correct?
In _classic_ GetItemCount("itemName"), GetItemCount("itemName",true) and GetItemCount("itemName",false) all return the number of items that are in both. This is a bug, correct?
Is there an API call in _classic_ that I don't know about that gives just the count in your bags?
|