Quantcast

Fixed primary stat not being shown in character armory

Darth Predator [01-11-17 - 07:03]
Fixed primary stat not being shown in character armory
Filename
ElvUI_SLE/modules/Armory/CharacterArmory/Stats.lua
diff --git a/ElvUI_SLE/modules/Armory/CharacterArmory/Stats.lua b/ElvUI_SLE/modules/Armory/CharacterArmory/Stats.lua
index 505b63a..10dea35 100644
--- a/ElvUI_SLE/modules/Armory/CharacterArmory/Stats.lua
+++ b/ElvUI_SLE/modules/Armory/CharacterArmory/Stats.lua
@@ -379,7 +379,7 @@ function CA:PaperDollFrame_UpdateStats()
 			local stat = PAPERDOLL_STATCATEGORIES[catIndex].stats[statIndex];
 			local showStat = true;
 			if ( showStat and stat.primary ) then
-				local primaryStat = T.select(7, T.GetSpecializationInfo(spec, nil, nil, nil, UnitSex("player")));
+				local primaryStat = T.select(6, T.GetSpecializationInfo(spec, nil, nil, nil, UnitSex("player")));
 				if ( stat.primary ~= primaryStat ) and E.db.sle.Armory.Character.Stats.OnlyPrimary then
 					showStat = false;
 				end