mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 17:34:25 -05:00
Update refrence
Class is now itself an emitter and no longer has an emitter attrabute
This commit is contained in:
parent
e30bacbfe0
commit
13350554bc
@ -49,7 +49,7 @@ export default class Rcon extends EventEmiiter {
|
||||
|
||||
this.client.on('error', (err) => {
|
||||
this.verbose(`Socket Error: ${err.message}`);
|
||||
this.emitter.emit('RCON_ERROR', err);
|
||||
this.emit('RCON_ERROR', err);
|
||||
});
|
||||
|
||||
this.client.on('close', async (hadError) => {
|
||||
|
Loading…
Reference in New Issue
Block a user