Fixed an issue in Vanilla when the addon tried to use retail talent api

This commit is contained in:
Tercio Jose
2024-02-07 11:21:47 -03:00
parent 0f62e059a6
commit 9f245631a6
+1 -1
View File
@@ -2113,7 +2113,7 @@ local iconFrame_OnEnter = function(self)
Details:AddTooltipHeaderStatusbar()
local talentString = ""
if (talents and not (DetailsFramework.IsTBCWow() or DetailsFramework.IsWotLKWow())) then
if (talents and not (DetailsFramework.IsClassicWow() or DetailsFramework.IsTBCWow() or DetailsFramework.IsWotLKWow())) then
for i = 1, #talents do
local talentID, talentName, texture, selected, available = GetTalentInfoByID(talents [i])
if (texture) then