From 02cf7fae4e929d0c9b1e5d2510eab4381a1468c9 Mon Sep 17 00:00:00 2001 From: Skillet Date: Fri, 17 Feb 2023 02:16:52 -0500 Subject: [PATCH] Update db-log-addOn.js --- squadjsPlugins/db-log-addOn.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index 14e13b3..8c17014 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -81,7 +81,6 @@ export default class DBLogPlayerTime extends DBLog { await super.mount(); this.server.on('PLAYER_CONNECTED', this.onPlayerConnected); this.server.on('PLAYER_DISCONNECTED', this.onPlayerDisconnected); - this.server.on('PLAYER_KICKED', this.onPlayerDisconnected); } async unmount() { @@ -92,7 +91,6 @@ export default class DBLogPlayerTime extends DBLog { await super.unmount(); this.server.removeEventListener('PLAYER_CONNECTED', this.onPlayerConnected); this.server.removeEventListener('PLAYER_DISCONNECTED', this.onPlayerDisconnected); - this.server.removeEventListener('PLAYER_KICKED', this.onPlayerDisconnected); } async onUpdatedA2SInformation(info) {