RaidCheck: should be working just no data filled out in LibOpenRaid

This commit is contained in:
andrew6180
2024-05-23 11:18:34 -07:00
parent 4414cd7ef3
commit a424407542
13 changed files with 15 additions and 467 deletions
+1 -9
View File
@@ -430,15 +430,7 @@ end
function openRaidLib.GetFoodTierFromAura(auraInfo)
local foodTable = openRaidLib.GetFoodInfoBySpellId(auraInfo.spellId)
if (foodTable) then
local points = auraInfo.points
if (points) then
for i = 1, #points do
local foodTier = foodTable.tier[points[i]]
if (foodTier) then
return foodTier
end
end
end
return foodTable.tier
end
return nil
end