rustfmt issues

This commit is contained in:
tommy 2019-07-14 13:39:27 -04:00
parent 52b65d5938
commit 6d8eea5085

View File

@ -434,8 +434,7 @@ fn handle_killnpcs(server: &mut Server, entity: EcsEntity, _args: String, _actio
}
let text = if npclist.len() > 0 {
format!("Destroyed {} NPCs.", npclist.len())
}
else {
} else {
"No NPCs on server.".to_string()
};
server.clients.notify(entity, ServerMsg::Chat(text));