容错
This commit is contained in:
parent
6e9d65241e
commit
7e589e23b3
@ -333,7 +333,7 @@ ApiCall.prototype.addEventMsg = function (this: ApiCall) {
|
|||||||
if (Object.keys(this.otherBuff).intersection(Object.keys(msg)).length > 0) this.conn.refreshPower();
|
if (Object.keys(this.otherBuff).intersection(Object.keys(msg)).length > 0) this.conn.refreshPower();
|
||||||
break;
|
break;
|
||||||
case 'msg_s2c/LshdChange':
|
case 'msg_s2c/LshdChange':
|
||||||
this.conn.lshd[msgKey] && PublicShared.mergeProperty(this.conn.lshd[msgKey], msg);
|
this.conn?.lshd?.[msgKey] && PublicShared.mergeProperty(this.conn.lshd[msgKey], msg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user