mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
test
This commit is contained in:
@@ -414,16 +414,18 @@ function A:UpdateHeader(header)
|
||||
weaponPosition = 1
|
||||
end
|
||||
|
||||
for i = 1, 24 do
|
||||
local aura, _ = freshTable()
|
||||
local buffIndex = GetPlayerBuff(i - 1, filter)
|
||||
aura.icon = GetPlayerBuffTexture(buffIndex)
|
||||
if aura.icon then
|
||||
local i, aura, buffIndex, icon = 0
|
||||
while true do
|
||||
aura = freshTable()
|
||||
buffIndex = GetPlayerBuff(i, filter)
|
||||
icon = GetPlayerBuffTexture(buffIndex)
|
||||
if not icon then releaseTable(aura) break end
|
||||
aura.count, aura.dispelType, aura.expires = GetPlayerBuffApplications(buffIndex), GetPlayerBuffDispelType(buffIndex), GetPlayerBuffTimeLeft(buffIndex)
|
||||
aura.icon = icon
|
||||
aura.index = buffIndex
|
||||
aura.filter = filter
|
||||
tinsert(sortingTable, aura)
|
||||
end
|
||||
i = i + 1
|
||||
end
|
||||
|
||||
local sortMethod = (sorters[db.sortMethod] or sorters["INDEX"])[db.sortDir == "-"][db.seperateOwn]
|
||||
@@ -431,7 +433,7 @@ function A:UpdateHeader(header)
|
||||
|
||||
self:ConfigureAuras(header, sortingTable, weaponPosition)
|
||||
while sortingTable[1] do
|
||||
releaseTable(wipe(sortingTable))
|
||||
releaseTable(tremove(sortingTable))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user