Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
166 stars 7 forks source link

C_MerchantFrame.SellAllJunkItems() breaks when there is an item without a value #488

Open p3lim opened 1 year ago

p3lim commented 1 year ago

As the title says, C_MerchantFrame.SellAllJunkItems() does not work when the player has "junk" item in their bags that has no value, like The Story of Morgan Ladimore. Instead the player is presented an UI_ERROR_MESSAGE event saying "The merchant doesn't want that item".

It's expected that this API only considers items of value, and ignores items without one.