mirror of
https://github.com/GIKExe/rust_mc_serv.git
synced 2025-06-24 02:12:58 +03:00
left the game message fix
This commit is contained in:
parent
424b33d47c
commit
a1b0da37d9
@ -550,7 +550,10 @@ pub fn handle_disconnect(
|
||||
}
|
||||
|
||||
remove_player(player.clone(), client.clone())?;
|
||||
send_rainbow_message(&player, format!("{} joined the game", player_name))?;
|
||||
send_rainbow_message(
|
||||
&player,
|
||||
format!("{} left the game", client.player_info().unwrap().name),
|
||||
)?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user