Incorrect Ammo Stacking for Different Item Types (e.g., Solid Shot and Mithril Slugs)
Arisemardan opened this issue ยท 0 comments
Addon Version
v0.3.18
World of Warcraft Version
Classic PTR
Describe the bug
Different types of ammo are incorrectly combined into a single total count. For example, if I have 3 Solid Shot (max stack size: 200) and 800 Mithril Slugs, the addon displays the total as 800 Mithril Shot and 203 Solid Shot instead of correctly showing 800 Mithril Slugs and 3 Solid Shot.
I assume this is because it's using itemhash and not itemid but since I don't really know where exactly it generates the itemhash in other parts of the code everywhere. Would a gettotalcount change help with the stacking?
Steps to reproduce
Place different types of ammo in your inventory