Update index.js

This commit is contained in:
Skillet 2023-02-17 08:05:58 -05:00 committed by GitHub
parent 6f162c5d63
commit 08370ab0c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,6 @@ export default class SquadServer extends EventEmitter {
data.player = await this.getPlayerBySteamID(data.steamID);
this.emit('PLAYER_KICKED', data);
this.emit('PLAYER_DISCONNECTED', data);
});
this.rcon.on('PLAYER_BANNED', async (data) => {
@ -154,7 +153,6 @@ export default class SquadServer extends EventEmitter {
data.player = await this.getPlayerBySteamID(data.steamID);
this.emit('PLAYER_BANNED', data);
this.emit('PLAYER_DISCONNECTED', data);
});
this.rcon.on('SQUAD_CREATED', async (data) => {