From fba0d14644be6b769a15c32676d5bba8e0180618 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 8 Aug 2024 22:45:11 +0100 Subject: [PATCH] fix: correct usage of GetTalentTabInfo https://wowwiki-archive.fandom.com/wiki/API_GetTalentTabInfo --- Helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Helpers.lua b/Helpers.lua index d9314f4..34065e8 100644 --- a/Helpers.lua +++ b/Helpers.lua @@ -12,7 +12,7 @@ function addon.GetSpecByGroupNum(groupnum) local maxTalentsSpent = -1 local maxTalentSpec = nil for specTab = 1, 3 do - local specName, id, pointsSpent = GetTalentTabInfo(specTab, false, false, groupnum) + local _, specName, _, pointsSpent = GetTalentTabInfo(specTab, false, false, groupnum) if pointsSpent > maxTalentsSpent then maxTalentsSpent = pointsSpent maxTalentSpec = specName