auctionable check improvements

This commit is contained in:
Manuel Simon Hirsig
2017-01-29 17:35:30 +01:00
parent 272aad034b
commit c7f972942e
4 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -344,7 +344,7 @@ function unit_vendor_price(item_key)
temp(slot)
local item_info = temp-info.container_item(unpack(slot))
if item_info and item_info.item_key == item_key then
if info.auctionable(item_info.tooltip, nil, item_info.lootable) then
if info.auctionable(item_info.tooltip, nil, true) and not item_info.lootable then
ClearCursor()
PickupContainerItem(unpack(slot))
ClickAuctionSellItemButton()
@@ -402,7 +402,7 @@ function update_inventory_records()
local item_info = temp-info.container_item(unpack(slot))
if item_info then
local charge_class = item_info.charges or 0
if info.auctionable(item_info.tooltip, nil, item_info.lootable) then
if info.auctionable(item_info.tooltip, nil, true) and not item_info.lootable then
if not auctionable_map[item_info.item_key] then
local availability = T
for i = 0, 10 do