Skip to content

Commit

Permalink
Fixed ilvl for raid heirloom.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Oct 31, 2014
1 parent 2b25680 commit 1714f7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShestakUI/Modules/Misc/SlotItemLevel.lua
Expand Up @@ -48,12 +48,12 @@ local function UpdateButtonsText(frame)
text:SetText("")
elseif item then
local oldilevel = text:GetText()
local _, _, heirloom, ilevel = GetItemInfo(item)
local _, _, _, ilevel = GetItemInfo(item)
local upgrade = item:match("item:%d+:%d+:%d+:%d+:%d+:%d+:%-?%d+:%-?%d+:%d+:(%d+)")

if ilevel then
if ilevel ~= oldilevel then
if heirloom == 7 then
if ilevel == 1 then
text:SetText("")
else
if upgrades[upgrade] == nil then upgrades[upgrade] = 0 end
Expand Down

0 comments on commit 1714f7b

Please sign in to comment.