This commit is contained in:
ciniao 2024-01-03 14:31:47 +08:00
parent 6e9d65241e
commit 7e589e23b3

View File

@ -333,7 +333,7 @@ ApiCall.prototype.addEventMsg = function (this: ApiCall) {
if (Object.keys(this.otherBuff).intersection(Object.keys(msg)).length > 0) this.conn.refreshPower();
break;
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;
}
};