mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 06:00:00 +00:00
tracking: fix nil error on table iteration
This commit is contained in:
@@ -148,7 +148,7 @@ pfUI:RegisterModule("tracking", function ()
|
||||
end
|
||||
end
|
||||
|
||||
for _, texture in pairs(knownTrackingSpellTextures[playerClass]) do
|
||||
for _, texture in pairs((knownTrackingSpellTextures[playerClass] or {})) do
|
||||
if strfind(spellTexture, texture) and not state.spells[texture] then
|
||||
state.spells[texture] = {
|
||||
index = spellIndex,
|
||||
|
||||
Reference in New Issue
Block a user