Add profilesFolder to Relay (#192)
This commit is contained in:
parent
72c07bb7a0
commit
0dc586db9c
1 changed files with 2 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ class Relay extends Server {
|
|||
}
|
||||
|
||||
// Called after a new player joins our proxy. We first create a new Client to connect to
|
||||
// the remote server. Then we listen to soem events and proxy them over. The queue and
|
||||
// the remote server. Then we listen to some events and proxy them over. The queue and
|
||||
// flushing logic is more of an accessory to make sure the server or client recieves
|
||||
// a packet, no matter what state it's in. For example, if the client wants to send a
|
||||
// packet to the server but it's not connected, it will add to the queue and send as soon
|
||||
|
|
@ -179,6 +179,7 @@ class Relay extends Server {
|
|||
host: this.options.destination.host,
|
||||
port: this.options.destination.port,
|
||||
onMsaCode: this.options.onMsaCode,
|
||||
profilesFolder: this.options.profilesFolder,
|
||||
autoInitPlayer: false
|
||||
})
|
||||
// Set the login payload unless `noLoginForward` option
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue