Vendorer

Vendorer

26.7k Downloads

destroying unsellable items only destroys 1 at a time, instead of all the ones on the junk list

ANaPhOrAX opened this issue ยท 1 comments

commented

Expected Behavior

all the items on the junk list should be destroyed after clicking the button "Sell / Destroy Junk" with option "also destroy unsellable items" enabled

Actual Behavior

only one of the items gets destroyed at a time. you have to click the button and confirm for each single item.

Steps to Reproduce the Problem

  1. add for example Box of Chocolates (itemid 49909) and "Bravado" Cologne (itemid 49859) to the junk list
  2. under settings, enable "also destroy unsellable items"
  3. click "Sell / Destroy Junk"
  4. it will ask you to confirm, so do that, and you will see that it only deletes one of the items on the list

Here's the bug I got:

3x [ADDON_ACTION_BLOCKED] AddOn '!Vendorer' tried to call the protected function 'DeleteCursorItem()'.
[string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519>
[string "=[C]"]: in function `DeleteCursorItem'
[string "@!Vendorer\core.lua"]:1350: in function `ConfirmSellJunk'
[string "@!Vendorer\core.lua"]:158: in function `OnAccept'
[string "@FrameXML\StaticPopup.lua"]:5137: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
commented

Hello, this is a Blizzard change, there doesn't seem to be a workaround after it. Author would need to implement and ask you to click for each item to be destroyed.
https://us.forums.blizzard.com/en/wow/t/deletecursoritem-changed/1168993