Fix for unpack issue

BM Hunters were listed as HunterBeastMaster, when in reality it is HunterBeastMastery.

Also, told it to return nil instead of 0 so the unpack error just softly goes away.
This commit is contained in:
Flamanis
2021-06-23 22:08:05 -05:00
committed by GitHub
parent b596445ace
commit ca427e9baa
+4 -4
View File
@@ -2664,7 +2664,7 @@ if (DetailsFramework.IsTBCWow()) then
DruidFeralCombat = 103,
DruidRestoration = 105,
HunterBeastMaster = 253,
HunterBeastMastery = 253,
HunterMarksmanship = 254,
HunterSurvival = 255,
@@ -2704,7 +2704,7 @@ if (DetailsFramework.IsTBCWow()) then
[103] = "DruidFeralCombat",
[105] = "DruidRestoration",
[253] = "HunterBeastMaster",
[253] = "HunterBeastMastery",
[254] = "HunterMarksmanship",
[255] = "HunterSurvival",
@@ -2743,6 +2743,6 @@ if (DetailsFramework.IsTBCWow()) then
end
function Details.GetClassicSpecByTalentTexture (talentTexture)
return Details.textureToSpec [talentTexture] or 0
return Details.textureToSpec [talentTexture] or nil
end
end
end