mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
rustfmt issues
This commit is contained in:
parent
52b65d5938
commit
6d8eea5085
@ -434,8 +434,7 @@ fn handle_killnpcs(server: &mut Server, entity: EcsEntity, _args: String, _actio
|
|||||||
}
|
}
|
||||||
let text = if npclist.len() > 0 {
|
let text = if npclist.len() > 0 {
|
||||||
format!("Destroyed {} NPCs.", npclist.len())
|
format!("Destroyed {} NPCs.", npclist.len())
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
"No NPCs on server.".to_string()
|
"No NPCs on server.".to_string()
|
||||||
};
|
};
|
||||||
server.clients.notify(entity, ServerMsg::Chat(text));
|
server.clients.notify(entity, ServerMsg::Chat(text));
|
||||||
|
Loading…
Reference in New Issue
Block a user