Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-06 10:09:50 -05:00 committed by GitHub
parent 7648f6cc45
commit fd189396c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ export default class DBLogPlayerTime extends DBLog {
let rowUpdate = await this.models.PlayerTime.update(
{ leaveTime: lastServerTime },
{ where: {
leaveTime: {[Op.not]: null},
leaveTime: {[Op.is]: null},
server: this.options.overrideServerID || this.server.id,
player: { [Op.ne]: {[Op.in]: playerOnlineID} }
} },