connection issue fix
This commit is contained in:
@@ -131,7 +131,7 @@ export default class Protocol extends EventEmitter {
|
||||
return this._packetWaiters.get(packetId)!;
|
||||
}
|
||||
|
||||
private connect() {
|
||||
public connect() {
|
||||
this.socket = new WebSocket(this.serverAddress);
|
||||
|
||||
this.socket.addEventListener('open', () => {
|
||||
|
||||
Reference in New Issue
Block a user