mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-07-19 00:37:07 +00:00
fix?: lceonline
This commit is contained in:
parent
3b01b82475
commit
a3fd463ba1
|
|
@ -103,7 +103,7 @@ async fn run_relay_proxy(
|
|||
.await
|
||||
.map_err(|e| format!("Proxy connect failed: {}", e))?;
|
||||
|
||||
write_line(&mut stream, &format!("JOIN {} {}", auth_token, target_session)).await?;
|
||||
write_line(&mut stream, &format!("JOIN {} 0 {}", auth_token, target_session)).await?;
|
||||
let listener = TcpListener::bind("0.0.0.0:61000")
|
||||
.await
|
||||
.map_err(|e| format!("Bind failed: {}", e))?;
|
||||
|
|
@ -242,4 +242,4 @@ pub async fn join_game(
|
|||
port: host_port,
|
||||
};
|
||||
crate::commands::game::launch_game(app, game_state, instance_id, vec![server], vec![]).await
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue