This commit is contained in:
Manuel Simon Hirsig
2016-03-21 03:04:36 +01:00
parent 2ea5e62555
commit b7539d7964
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -102,9 +102,8 @@ function private.scan_wdb()
while processed <= 100 and item_id <= MAX_ITEM_ID do
local itemstring = 'item:'..item_id
local name, _, quality, level, class, subclass, max_stack, slot, texture = GetItemInfo(itemstring)
name = name and strlower(name)
if name and not aux_item_ids[name] then
aux_item_ids[name] = item_id
if name and not aux_item_ids[strlower(name)] then
aux_item_ids[strlower(name)] = item_id
aux_items[item_id] = Aux.util.join({
name,
quality or '',
@@ -117,7 +116,7 @@ function private.scan_wdb()
}, '#')
local tooltip = Aux.info.tooltip(function(tt) tt:SetHyperlink(itemstring) end)
if Aux.info.auctionable(tooltip, quality) then
tinsert(aux_auctionable_items, name)
tinsert(aux_auctionable_items, strlower(name))
end
processed = processed + 1
end
+1 -1
View File
@@ -1,5 +1,5 @@
Aux = {
version = '2.9.1',
version = '2.9.2',
blizzard_ui_shown = false,
orig = {},
}