aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/client.rs4
-rwxr-xr-xazalea-client/src/ping.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 39cc504c..1f9685ec 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -51,7 +51,7 @@ use azalea_protocol::{
serverbound_login_acknowledged_packet::ServerboundLoginAcknowledgedPacket,
ClientboundLoginPacket,
},
- ConnectionProtocol, PROTOCOL_VERSION,
+ ConnectionProtocol, ClientIntention, PROTOCOL_VERSION,
},
resolver, ServerAddress,
};
@@ -358,7 +358,7 @@ impl Client {
protocol_version: PROTOCOL_VERSION,
hostname: address.host.clone(),
port: address.port,
- intention: ConnectionProtocol::Login,
+ intention: ClientIntention::Login,
}
.get(),
)
diff --git a/azalea-client/src/ping.rs b/azalea-client/src/ping.rs
index c74a62be..d0612392 100755
--- a/azalea-client/src/ping.rs
+++ b/azalea-client/src/ping.rs
@@ -12,7 +12,7 @@ use azalea_protocol::{
serverbound_status_request_packet::ServerboundStatusRequestPacket,
ClientboundStatusPacket,
},
- ConnectionProtocol, PROTOCOL_VERSION,
+ ClientIntention, PROTOCOL_VERSION,
},
resolver, ServerAddress,
};
@@ -79,7 +79,7 @@ pub async fn ping_server_with_connection(
protocol_version: PROTOCOL_VERSION,
hostname: address.host.clone(),
port: address.port,
- intention: ConnectionProtocol::Status,
+ intention: ClientIntention::Status,
}
.get(),
)