From 66d584058445fffbe20a48220f0bfbe36b44fab6 Mon Sep 17 00:00:00 2001 From: Wetxius Date: Mon, 22 Jul 2024 20:03:24 +0300 Subject: [PATCH] Fixed GetTalentTabInfo return --- ShestakUI/Core/Classic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShestakUI/Core/Classic.lua b/ShestakUI/Core/Classic.lua index c5c5dfadc..16b29dee9 100644 --- a/ShestakUI/Core/Classic.lua +++ b/ShestakUI/Core/Classic.lua @@ -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