mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Formatting
This commit is contained in:
parent
833c1d06b2
commit
3b24af76ab
@ -77,9 +77,10 @@ fn main() {
|
||||
match event {
|
||||
Event::Chat { message, .. } => println!("{}", message),
|
||||
Event::Disconnect => {} // TODO
|
||||
Event::DisconnectionNotification(time) => {
|
||||
println!("{}", format!("Connection lost. Kicking in {} seconds", time))
|
||||
}
|
||||
Event::DisconnectionNotification(time) => println!(
|
||||
"{}",
|
||||
format!("Connection lost. Kicking in {} seconds", time)
|
||||
),
|
||||
}
|
||||
}
|
||||
// Clean up the server after a tick.
|
||||
|
@ -8,13 +8,13 @@ use crate::{
|
||||
};
|
||||
use client::{self, Client, Event::Chat};
|
||||
use common::{
|
||||
ChatType,
|
||||
clock::Clock,
|
||||
comp,
|
||||
comp::{Pos, Vel},
|
||||
msg::ClientState,
|
||||
terrain::{Block, BlockKind},
|
||||
vol::ReadVol,
|
||||
ChatType,
|
||||
};
|
||||
use log::error;
|
||||
use specs::Join;
|
||||
|
Loading…
Reference in New Issue
Block a user