Quantcast

Merge branch 'master' of git.tukui.org:repooc/elvui-shadowandlight

Repooc [01-14-17 - 22:17]
Merge branch 'master' of git.tukui.org:repooc/elvui-shadowandlight
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