Skip to content

Commit

Permalink
Better view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Apr 11, 2017
1 parent 4e7a743 commit 832ba16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShestakUI/Modules/Misc/MerchantItemlevel.lua
Expand Up @@ -24,7 +24,7 @@ local function MerchantItemlevel()
local itemLink = GetMerchantItemLink(index)
if itemLink then
local _, _, quality, itemlevel, _, _, _, _, _, _, _, itemClassID = GetItemInfo(itemLink)
if (itemlevel and itemlevel > 1) and (quality and quality > 1) and (itemClassID == 2 or itemClassID == 4) then
if (itemlevel and itemlevel > 1) and (quality and quality > 1) and (itemClassID == LE_ITEM_CLASS_WEAPON or itemClassID == LE_ITEM_CLASS_ARMOR) then
button.text:SetText(itemlevel)
end
end
Expand Down

0 comments on commit 832ba16

Please sign in to comment.