Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #5701

Merged
merged 1 commit into from
Feb 26, 2025
Merged

fix #5701

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions WeakAurasOptions/Cache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ function spellCache.Build()
holes[243806] = 261127
holes[262591] = 281624
holes[301101] = 324269
elseif WeakAuras.IsRetail() then
holes = {}
holes[556606] = 936050
holes[936051] = 1049295
holes[1049296] = 1213133
end
wipe(cache)
local co = coroutine.create(function()
Expand Down Expand Up @@ -113,8 +118,9 @@ local lastId
print("####")
while misses < 4000000 do
id = id + 1
local name = GetSpellInfo(id)
local icon = GetSpellTexture(id)
local spellInfo = C_Spell.GetSpellInfo(id)
local name = spellInfo and spellInfo.name
local icon = C_Spell.GetSpellTexture(id)
if icon == 136243 then -- 136243 is the a gear icon, we can ignore those spells
misses = 0
elseif name and name ~= "" and icon then
Expand Down