aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/connection.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-06-02 03:44:24 -0100
committermat <git@matdoes.dev>2025-06-02 03:44:24 -0100
commit3d121722d7b995de1346f9838df15386aea5acc8 (patch)
treef970e92883a0530fa683a5b5aaf51355deb0158a /azalea-client/src/plugins/connection.rs
parent99659bd9a33fad276c2a5ecfb68f094c4f544d48 (diff)
downloadazalea-drasl-3d121722d7b995de1346f9838df15386aea5acc8.tar.xz
several pathfinder fixes
Diffstat (limited to 'azalea-client/src/plugins/connection.rs')
-rw-r--r--azalea-client/src/plugins/connection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/connection.rs b/azalea-client/src/plugins/connection.rs
index 36aa2ee7..a929a4c7 100644
--- a/azalea-client/src/plugins/connection.rs
+++ b/azalea-client/src/plugins/connection.rs
@@ -169,9 +169,9 @@ pub struct RawConnection {
///
/// To check if we haven't disconnected from the server, use
/// [`Self::is_alive`].
- network: Option<NetworkConnection>,
+ pub(crate) network: Option<NetworkConnection>,
pub state: ConnectionProtocol,
- is_alive: bool,
+ pub(crate) is_alive: bool,
/// This exists for internal testing purposes and probably shouldn't be used
/// for normal bots. It's basically a way to make our client think it