[BUG] Error on feign death
alexqu0822 opened this issue · 0 comments
What steps will reproduce the problem?
- A hunter bring away one mob.
- The hunter feign die.
- Err occured
What version of ThreatClassic2 are you using? (Stating 'latest' is not useful)
X-Curse-Project-ID: 355497
Version: 2.16
Do you have an error log of what happened?
Message: Interface\AddOns\ThreatClassic2\core\core.lua:234: attempt to index local 'colorUnit' (a nil value)
Time: Sat Apr 18 19:56:45 2020
Count: 1
Stack: Interface\AddOns\ThreatClassic2\core\core.lua:234: attempt to index local 'colorUnit' (a nil value)
Interface\AddOns\ThreatClassic2\core\core.lua:234: in function <Interface\AddOns\ThreatClassic2\core\core.lua:223>
Interface\AddOns\ThreatClassic2\core\core.lua:255: in function UpdateThreatBars' Interface\AddOns\ThreatClassic2\core\core.lua:338: in function <Interface\AddOns\ThreatClassic2\core\core.lua:310> Interface\AddOns\ThreatClassic2\core\core.lua:788: in function
?'
Interface\AddOns\ThreatClassic2\core\core.lua:765: in function <Interface\AddOns\ThreatClassic2\core\core.lua:764>
[C]: in function `TurnOrActionStop'
[string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1>
Locals: unit = "raidpet30"
colorUnit = nil
(*temporary) =
}
(*temporary) = nil
(*temporary) = "raidpet30"
(*temporary) = "player"
(*temporary) = nil
(*temporary) = "attempt to index local 'colorUnit' (a nil value)"
C =
font =
}
general =
}
warnings =
}
frame =
}
playerBarCustomColor =
}
backdrop =
}
bar =
}
}
UnitIsUnit = defined =[C]:-1
UnitIsPlayer = defined =[C]:-1
RAID_CLASS_COLORS =
HUNTER =
}
WARRIOR =
}
PALADIN =
}
MAGE =
}
PRIEST =
}
SHAMAN =
}
WARLOCK =
}
DEMONHUNTER =
}
DEATHKNIGHT =
}
DRUID =
}
MONK =
}
ROGUE =
}
}
select = defined =[C]:-1
UnitClass = defined =[C]:-1
FACTION_BAR_COLORS =
6 =
}
2 =
}
8 =
}
3 =
}
1 =
}
4 =
}
5 =
}
7 =
}
}
UnitReaction = defined =[C]:-1
TC2 =
SetupMenu = defined @interface\AddOns\ThreatClassic2\core\core.lua:934
colorFallback =
}
FlashScreen = defined @interface\AddOns\ThreatClassic2\core\core.lua:379
SetupFrame = defined @interface\AddOns\ThreatClassic2\core\core.lua:901
partyPetUnits =
}
CheckWarning = defined @interface\AddOns\ThreatClassic2\core\core.lua:364
partyUnits =
}
UpdateThreatBars = defined @interface\AddOns\ThreatClassic2\core\core.lua:241
PLAYER_REGEN_DISABLED = defined @interface\AddOns\ThreatClassic2\core\core.lua:804
version = "2.16"
UpdateBars = defined @interface\AddOns\ThreatClassic2\core\core.lua:544
threatColors =
}
config =
}
raidUnits =
}
menuTable =
}
GROUP_ROSTER_UPDATE = defined @interface\AddOns\ThreatClassic2\core\core.lua:793
menu = ThreatClassic2MenuFrame {
}
playerName = "战战青天"
PLAYER_REGEN_ENABLED = defined @interface\AddOns\ThreatClassic2\core\core.lua:811
defaultConfig =
}
configTable =
}
PLAYER_TARGET_CHANGED = defined @interface\AddOns\ThreatClassic2\core\core.lua:782
SetupConfig = defined @interface\AddOns\ThreatClassic2\core\core.lua:968
PLAYER_ENTERING_WORLD = defined @interface\AddOns\ThreatClassic2\core\core.lua:773
threatData =
}
UNIT_THREAT_LIST_UPDATE = defined @interface\AddOns\ThreatClassic2\core\core.lua:817
ZONE_CHANGED_NEW_AREA = defined @interface\AddOns\ThreatClassic2\core\core.lua:800
classic = true
SetupUnits = defined @interface\AddOns\ThreatClassic2\core\core.lua:886
TestMode = defined @interface\AddOns\ThreatClassic2\core\core.lua:581
locale = "zhCN"
UNIT_TARGET = defined @interface\AddOns\ThreatClassic2\core\core.lua:782
playerTarget = "target"
raidPetUnits =
}
frame = ThreatClassic2BarFrame {
}
UpdateFrame = defined @i