async move(socket) {
    this.socket = socket;
    await this.destroy();
    if (this.channel) this.connect(this.channel);
    return this;
  }
/**
   * Moves this player to another socket.
   * @param socket The socket to move to.
   * @since 3.0.14
   */
Moves this player to another socket.
@param socket The socket to move to.
Moves this player to another socket . @param socket The socket to move to .
async move(socket) {
    this.socket = socket;
    await this.destroy();
    if (this.channel) this.connect(this.channel);
    return this;
  }
async move ( socket ) { this . socket = socket ; await this . destroy ( ) ; if ( this . channel ) this . connect ( this . channel ) ; return this ; }
Moves this player to another socket.
Moves this player to another socket .