From c34c0014afcebedc883d3f2d1f8981ccbb3e9f50 Mon Sep 17 00:00:00 2001 From: Skillet Date: Wed, 15 Feb 2023 08:27:19 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index 177b6d0..74f7e5d 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -111,7 +111,7 @@ export default class DBLogPlayerTime extends DBLog { } async onPlayerConnected(info) { - this.console.log(info); + console.log(info); if(info.player){ await this.models.PlayerTime.create({ server: this.options.overrideServerID || this.server.id, @@ -124,7 +124,7 @@ export default class DBLogPlayerTime extends DBLog { } async onPlayerDisconnected(info) { - this.console.log(info); + console.log(info); if(info.player){ await this.models.PlayerTime.update( { leaveTime: info.time },