Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-05 23:34:47 -05:00 committed by GitHub
parent 5c4877f1d3
commit e8c0607fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,9 +102,9 @@ export default class DBLogPlayerTime extends DBLog {
console.log('last time found:', lastServerTime);
let playerOnlineID = [];
playerOnlineID.push(0);
for (const player of this.server.players){
playerOnlineID.push(player.steamID);
}
// for (const player of this.server.players){
// playerOnlineID.push(player.steamID);
// }
console.log('players online:', playerOnlineID);
const {ne} = Sequelize.Op;
// let rowUpdate = await this.models.PlayerTime.update(