diff --git a/WeakAuras/Types.lua b/WeakAuras/Types.lua index 68573c7..428e594 100644 --- a/WeakAuras/Types.lua +++ b/WeakAuras/Types.lua @@ -3839,7 +3839,10 @@ do local specs = C_ClassInfo.GetAllSpecs(class) if specs then for _, spec in ipairs(specs) do - addSpec(class, C_ClassInfo.GetSpecInfo(class, spec)) + local ok, info = pcall(C_ClassInfo.GetSpecInfo, class, spec) + if ok and info then + addSpec(class, info) + end end end end