Skip to content

Commit

Permalink
Merge pull request #106 from TannerShmoog/tannershmoog-bugfix
Browse files Browse the repository at this point in the history
fix GetSpecialization blizzard api overwrite
  • Loading branch information
Gogo1951 authored Sep 22, 2022
2 parents 0e167ca + e544357 commit 8bb1ec6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Outfitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7904,6 +7904,9 @@ function Outfitter:GetTalentTreeName(pIndex)
--return vName
end

--This function overwrites a blizzard API call and causes many conflicts with other addons
--It is also not used anywhere in the entirety of Outfitter from what I can tell
--[[
function GetSpecialization()
--local _, vName = GetSpecializationInfo(pIndex)
local vName1, _, vTab1 = GetTalentTabInfo(1)
Expand All @@ -7930,6 +7933,7 @@ function GetSpecialization()
end
--return vName
end
--]]

function Outfitter:Run(pText)
local vCommand = pText:match("^(/[^%s]+)") or ""
Expand Down

0 comments on commit 8bb1ec6

Please sign in to comment.