Quantcast

Replace GetActiveSpecGroup() with GetSpecialization()

Merathilis [06-11-17 - 10:39]
Replace GetActiveSpecGroup() with GetSpecialization()
Filename
ElvUI_SLE/core/toolkit.lua
ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua
diff --git a/ElvUI_SLE/core/toolkit.lua b/ElvUI_SLE/core/toolkit.lua
index 78596b4..e387f84 100644
--- a/ElvUI_SLE/core/toolkit.lua
+++ b/ElvUI_SLE/core/toolkit.lua
@@ -37,7 +37,7 @@ T.GetTalentInfo = GetTalentInfo
 T.GetTalentInfoByID = GetTalentInfoByID
 T.GetNumSpecializationsForClassID = GetNumSpecializationsForClassID
 T.GetSpecializationInfoForClassID = GetSpecializationInfoForClassID
-T.GetActiveSpecGroup = GetActiveSpecGroup
+T.GetSpecialization = GetSpecialization
 T.GetAverageItemLevel = GetAverageItemLevel
 T.UnitStat = UnitStat
 T.UnitIsPlayer = UnitIsPlayer
diff --git a/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua b/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua
index 290b980..ed457bf 100644
--- a/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua
+++ b/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua
@@ -288,7 +288,7 @@ if not AISM.Revision or AISM.Revision < Revision then


 	--<< Specialization String >>--
-	local ActiveSpec = GetActiveSpecGroup()
+	local ActiveSpec = GetSpecialization()
 	local SpecTable = {}
 	local GroupArray = {}
 	for i = 1, playerNumSpecGroup do
@@ -302,7 +302,7 @@ if not AISM.Revision or AISM.Revision < Revision then
 	function AISM:GetPlayerSpecSetting()
 		local DataString, Spec, Talent, isSelected

-		ActiveSpec = T.GetActiveSpecGroup()
+		ActiveSpec = T.GetSpecialization()

 		if self.PlayerData.ActiveSpec ~= ActiveSpec then
 			self.PlayerData.ActiveSpec = ActiveSpec