aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/client.rs')
-rw-r--r--azalea-client/src/client.rs4
1 files changed, 2 insertions, 2 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(),
)