Skip to content

Commit

Permalink
Fixed an issue in Vanilla when the addon tried to use retail talent api
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Feb 7, 2024
1 parent 0f62e05 commit 9f24563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frames/window_main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f24563

Please sign in to comment.