From 94cdb37e63fb87319513f5c8ee93f1d18ba2c207 Mon Sep 17 00:00:00 2001 From: Skillet Date: Sat, 11 Mar 2023 18:52:27 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index aef6d6d..c900cb3 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -165,7 +165,7 @@ export default class DBLogPlayerTime extends DBLog { console.log(timeNow); const curPlayer = await this.models.PlayerTimeNew.findAll({ where: { - leaveTime: null, + endTime: null, serverState: oldState, server: this.options.overrideServerID || this.server.id }