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 super::{ClientState, EcsCompPacket, EcsResPacket};
|
||||||
use crate::{comp, terrain::TerrainChunk, ChatType};
|
use crate::{
|
||||||
|
comp,
|
||||||
|
terrain::{Block, TerrainChunk},
|
||||||
|
ChatType,
|
||||||
|
};
|
||||||
|
use fxhash::FxHashMap;
|
||||||
use vek::*;
|
use vek::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
@ -627,7 +627,7 @@ fn handle_tell(server: &mut Server, entity: EcsEntity, args: String, action: &Ch
|
|||||||
);
|
);
|
||||||
server.clients.notify(
|
server.clients.notify(
|
||||||
entity,
|
entity,
|
||||||
ServerMsg::tell(format!("You tell {} {}", alias, msg)),
|
ServerMsg::tell(format!("You tell {}:{}", alias, msg)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
@ -640,20 +640,16 @@ fn handle_tell(server: &mut Server, entity: EcsEntity, args: String, action: &Ch
|
|||||||
} else {
|
} else {
|
||||||
server.clients.notify(
|
server.clients.notify(
|
||||||
entity,
|
entity,
|
||||||
ServerMsg::Chat(format!(
|
ServerMsg::chat(format!(
|
||||||
"You really should say something to {}!",
|
"You really should say something to {}!",
|
||||||
alias
|
alias
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
server.clients.notify(
|
server
|
||||||
entity,
|
.clients
|
||||||
ServerMsg::chat(format!(
|
.notify(entity, ServerMsg::chat(format!("Don't be crazy!")));
|
||||||
"You really should say something to {}!",
|
|
||||||
alias
|
|
||||||
)),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
|
Loading…
Reference in New Issue
Block a user