diff options
| author | EightFactorial <murphkev000@gmail.com> | 2023-02-08 10:05:14 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-08 12:05:14 -0600 |
| commit | c23fae6e5dc2832f3649838f514eafb9dfa3e598 (patch) | |
| tree | 45e8dce127bf96ff45a9badc462f7e5553d7c561 /azalea-client/src/client.rs | |
| parent | aa886c101b398f52372df6054c00f9387428cac6 (diff) | |
| download | azalea-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.rs | 5 |
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}; |
