Skip to content

Commit

Permalink
Fixed GetTalentTabInfo return
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius authored Jul 22, 2024
1 parent 5f60ab1 commit 66d5840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShestakUI/Core/Classic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function T.GetSpecialization(isInspect, isPet, specGroup)
local specIndex
local max = 0
for tabIndex = 1, GetNumTalentTabs() do
local spent = select(3, GetTalentTabInfo(tabIndex, "player", T.Wrath and specGroup))
local spent = select(5, GetTalentTabInfo(tabIndex, "player", T.Wrath and specGroup))
if spent > max then
specIndex = tabIndex
max = spent
Expand Down

0 comments on commit 66d5840

Please sign in to comment.