mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2025-01-02 13:19:20 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
65e778a9eb
commit
02cf7fae4e
@ -81,7 +81,6 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
await super.mount();
|
await super.mount();
|
||||||
this.server.on('PLAYER_CONNECTED', this.onPlayerConnected);
|
this.server.on('PLAYER_CONNECTED', this.onPlayerConnected);
|
||||||
this.server.on('PLAYER_DISCONNECTED', this.onPlayerDisconnected);
|
this.server.on('PLAYER_DISCONNECTED', this.onPlayerDisconnected);
|
||||||
this.server.on('PLAYER_KICKED', this.onPlayerDisconnected);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async unmount() {
|
async unmount() {
|
||||||
@ -92,7 +91,6 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
await super.unmount();
|
await super.unmount();
|
||||||
this.server.removeEventListener('PLAYER_CONNECTED', this.onPlayerConnected);
|
this.server.removeEventListener('PLAYER_CONNECTED', this.onPlayerConnected);
|
||||||
this.server.removeEventListener('PLAYER_DISCONNECTED', this.onPlayerDisconnected);
|
this.server.removeEventListener('PLAYER_DISCONNECTED', this.onPlayerDisconnected);
|
||||||
this.server.removeEventListener('PLAYER_KICKED', this.onPlayerDisconnected);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async onUpdatedA2SInformation(info) {
|
async onUpdatedA2SInformation(info) {
|
||||||
|
Loading…
Reference in New Issue
Block a user