From ca427e9baa16c1cf9bc27a851e2f13c05ced7428 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Wed, 23 Jun 2021 22:08:05 -0500 Subject: [PATCH] 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. --- core/gears.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/gears.lua b/core/gears.lua index a63bdbb8..8bf58bd8 100644 --- a/core/gears.lua +++ b/core/gears.lua @@ -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 \ No newline at end of file +end