mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Rebase fixes
This commit is contained in:
parent
8bac6e1e72
commit
ea0bbe7e47
@ -1,5 +1,10 @@
|
||||
use super::{ClientState, EcsCompPacket, EcsResPacket};
|
||||
use crate::{comp, terrain::TerrainChunk, ChatType};
|
||||
use crate::{
|
||||
comp,
|
||||
terrain::{Block, TerrainChunk},
|
||||
ChatType,
|
||||
};
|
||||
use fxhash::FxHashMap;
|
||||
use vek::*;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
@ -627,7 +627,7 @@ fn handle_tell(server: &mut Server, entity: EcsEntity, args: String, action: &Ch
|
||||
);
|
||||
server.clients.notify(
|
||||
entity,
|
||||
ServerMsg::tell(format!("You tell {} {}", alias, msg)),
|
||||
ServerMsg::tell(format!("You tell {}:{}", alias, msg)),
|
||||
);
|
||||
}
|
||||
None => {
|
||||
@ -640,20 +640,16 @@ fn handle_tell(server: &mut Server, entity: EcsEntity, args: String, action: &Ch
|
||||
} else {
|
||||
server.clients.notify(
|
||||
entity,
|
||||
ServerMsg::Chat(format!(
|
||||
ServerMsg::chat(format!(
|
||||
"You really should say something to {}!",
|
||||
alias
|
||||
)),
|
||||
);
|
||||
}
|
||||
} else {
|
||||
server.clients.notify(
|
||||
entity,
|
||||
ServerMsg::chat(format!(
|
||||
"You really should say something to {}!",
|
||||
alias
|
||||
)),
|
||||
);
|
||||
server
|
||||
.clients
|
||||
.notify(entity, ServerMsg::chat(format!("Don't be crazy!")));
|
||||
}
|
||||
}
|
||||
None => {
|
||||
|
Loading…
Reference in New Issue
Block a user