fix talent error

This commit is contained in:
Jrc13245
2026-03-20 13:37:50 -04:00
parent cc87fac66f
commit 4a34cf25ce
+3 -1
View File
@@ -139,7 +139,9 @@ function CleveRoids.IndexTalents()
for tab = 1, GetNumTalentTabs() do
for i = 1, GetNumTalents(tab) do
local name, _, _, _, rank = GetTalentInfo(tab, i)
talents[name] = tonumber(rank)
if name then
talents[name] = tonumber(rank)
end
end
end
CleveRoids.Talents = talents