aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
diff options
context:
space:
mode:
authorEightFactorial <murphkev000@gmail.com>2023-02-08 10:05:14 -0800
committerGitHub <noreply@github.com>2023-02-08 12:05:14 -0600
commitc23fae6e5dc2832f3649838f514eafb9dfa3e598 (patch)
tree45e8dce127bf96ff45a9badc462f7e5553d7c561 /azalea-client/src/client.rs
parentaa886c101b398f52372df6054c00f9387428cac6 (diff)
downloadazalea-drasl-c23fae6e5dc2832f3649838f514eafb9dfa3e598.tar.xz
Add KeepAliveEvent and Fix Error Messages (#65)
* Add KeepAliveEvent * Fix error messages * Panic instead of log error * Do not panic on closed connections * change some wording and fixes * fmt --------- Co-authored-by: Ubuntu <github@matdoes.dev>
Diffstat (limited to 'azalea-client/src/client.rs')
-rw-r--r--azalea-client/src/client.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 87079af4..8b6932e5 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -42,7 +42,10 @@ use azalea_protocol::{
},
resolver, ServerAddress,
};
-use azalea_world::{entity::{WorldName, EntityPlugin, Local}, PartialWorld, World, WorldContainer};
+use azalea_world::{
+ entity::{EntityPlugin, Local, WorldName},
+ PartialWorld, World, WorldContainer,
+};
use log::{debug, error};
use parking_lot::{Mutex, RwLock};
use std::{collections::HashMap, fmt::Debug, io, net::SocketAddr, sync::Arc};