Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-06 11:48:53 -05:00 committed by GitHub
parent 3ec6c523dd
commit dfdd5f4286
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 {
console.log('players online:', playerOnlineID);
const {ne, not, notIn, is} = Sequelize.Op;
let rowUpdate = await this.models.PlayerTime.update(
{ leaveTime: (lastServerTime) },
{ leaveTime: lastServerTime },
{ where: {
leaveTime: {[is]: null},
server: this.options.overrideServerID || this.server.id,