Update db-log-addOn.js

This commit is contained in:
Skillet 2023-03-02 05:01:52 -05:00 committed by GitHub
parent b2ca04840c
commit 7def712f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,8 +92,8 @@ export default class DBLogPlayerTime extends DBLog {
);
let lastServerTime = lastTickTime.time;
let playerOnlineID = [];
console.log(this.players);
for (player of this.players){
let players = await this.rcon.getListPlayers();
for (player of players){
playerOnlineID.push(player.steamID);
}
const {not} = Sequelize.Op;