Remove some more locals
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
local MYBAGS_MAXEQUIPSLOTS = 19
|
||||
local MYBAGS_SLOTCOLOR = { 0.5, 0.5, 0.5 }
|
||||
local MYEQUIPMENT_SLOT = {}
|
||||
|
||||
@ -401,7 +400,6 @@ end
|
||||
|
||||
function MyEquipment:GetEquipInfoLive(itemIndex)
|
||||
local itemLink = GetInventoryItemLink("player",itemIndex)
|
||||
local myColor, myLink, myName = nil
|
||||
local texture, count, quality, ID = nil
|
||||
if itemLink or itemIndex == 0 then
|
||||
texture = GetInventoryItemTexture("player",itemIndex)
|
||||
@ -411,7 +409,7 @@ function MyEquipment:GetEquipInfoLive(itemIndex)
|
||||
ID = select(4, GetItemInfoFromLink(itemLink))
|
||||
end
|
||||
end
|
||||
local hasRelic = UnitHasRelicSlot("player")
|
||||
|
||||
local locked = IsInventoryItemLocked(itemIndex)
|
||||
return texture, count, ID, locked, quality, readable, nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user