fix bad class passed
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user