mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 22:14:26 -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.client.on('error', (err) => {
|
||||||
this.verbose(`Socket Error: ${err.message}`);
|
this.verbose(`Socket Error: ${err.message}`);
|
||||||
this.emitter.emit('RCON_ERROR', err);
|
this.emit('RCON_ERROR', err);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.client.on('close', async (hadError) => {
|
this.client.on('close', async (hadError) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user