diff --git a/Details_Classic.toc b/Details_Classic.toc index 608a3027e..5298605ff 100644 --- a/Details_Classic.toc +++ b/Details_Classic.toc @@ -1,4 +1,4 @@ -## Interface: 11502 +## Interface: 11503 ## Title: Details! Damage Meter ## Notes: Essential tool to impress that chick in your raid. ## Notes-ruRU: Незаменимый инструмент, чтобы произвести впечатление на цыпочку в вашем рейде. diff --git a/Libs/LibLuaServer/LibLuaServer.lua b/Libs/LibLuaServer/LibLuaServer.lua index 383806006..91cd241f1 100644 --- a/Libs/LibLuaServer/LibLuaServer.lua +++ b/Libs/LibLuaServer/LibLuaServer.lua @@ -5562,8 +5562,8 @@ function GetTalentLink(tabIndex, talentIndex, isInspect) return "" end function GetTalentPrereqs(tabIndex, talentIndex, isInspect) return 0 end ---@param tabIndex number ----@return string, string, number, number, number, number -function GetTalentTabInfo(tabIndex) return "", "", 0, 0, 0, 0 end +---@return number, string, string, number, number, string, number, boolean +function GetTalentTabInfo(tabIndex) return 0, "", "", 0, 0, "", 0, false end ---@param tabIndex number ---@param talentIndex number diff --git a/core/gears.lua b/core/gears.lua index b9613dae1..68cc304a4 100644 --- a/core/gears.lua +++ b/core/gears.lua @@ -2789,12 +2789,8 @@ if (DetailsFramework.IsWotLKWow() or DetailsFramework.IsCataWow()) then for i = 1,(MAX_TALENT_TABS or 3) do if (i <= numTabs) then --tab information - local id, name, description, iconTexture, pointsSpent, fileName - if DetailsFramework.IsCataWow() then - id, name, description, iconTexture, pointsSpent, fileName = GetTalentTabInfo(i) - else - name, iconTexture, pointsSpent, fileName = GetTalentTabInfo(i) - end + local id, name, description, iconTexture, pointsSpent, fileName = GetTalentTabInfo(i) + if (name) then tinsert(pointsPerSpec, {name, pointsSpent, fileName}) end diff --git a/plugins/Details_TinyThreat/Details_TinyThreat-Classic.toc b/plugins/Details_TinyThreat/Details_TinyThreat-Classic.toc index 510fa4cee..501ec0e54 100644 --- a/plugins/Details_TinyThreat/Details_TinyThreat-Classic.toc +++ b/plugins/Details_TinyThreat/Details_TinyThreat-Classic.toc @@ -1,4 +1,4 @@ -## Interface: 11501 +## Interface: 11503 ## Title: Details!: Tiny Threat (plugin) ## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel. ## RequiredDeps: Details