check for null on conditionCounters
This commit is contained in:
parent
f3fee2bc39
commit
d49a9da751
@ -316,7 +316,7 @@ export class InraidController
|
|||||||
*/
|
*/
|
||||||
protected profileHasConditionCounters(profile: IPmcData): boolean
|
protected profileHasConditionCounters(profile: IPmcData): boolean
|
||||||
{
|
{
|
||||||
if (!profile.ConditionCounters.Counters)
|
if (!profile.ConditionCounters?.Counters)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user