From 944b72c9e40df1d40e3047a2ef788b4779f99882 Mon Sep 17 00:00:00 2001 From: Andrew6810 <16847730+andrew6180@users.noreply.github.com> Date: Fri, 28 Oct 2022 10:05:25 -0700 Subject: [PATCH] fix bad class passed --- ElvUI/Settings/Profile.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElvUI/Settings/Profile.lua b/ElvUI/Settings/Profile.lua index 1c37262..417821f 100644 --- a/ElvUI/Settings/Profile.lua +++ b/ElvUI/Settings/Profile.lua @@ -3,6 +3,7 @@ local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, Private P.gridSize = 64 P.farmSize = 340 +local _, myclass = UnitClass("player") --Core P.general = { messageRedirect = DEFAULT_CHAT_FRAME:GetName(), @@ -30,7 +31,7 @@ P.general = { backdropcolor = {r = 0.1, g = 0.1, b = 0.1}, backdropfadecolor = {r = 0.06, g = 0.06, b = 0.06, a = 0.8}, valuecolor = {r = 0.99, g = 0.48, b = 0.17}, - herocolor = RAID_CLASS_COLORS[E.myclass], + herocolor = RAID_CLASS_COLORS[myclass], cropIcon = 2, minimap = { size = 176,