fixed chat-cli

This commit is contained in:
telastrus 2019-08-08 13:21:18 -04:00
parent 66e254db7f
commit 3a9bbc4927

View File

@ -48,9 +48,7 @@ fn main() {
println!("Players online: {:?}", client.get_players());
client
.register(comp::Player::new(username, None), password)
.unwrap();
client.register(comp::Player::new(username, None), password);
let (tx, rx) = mpsc::channel();
thread::spawn(move || loop {