aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client')
-rwxr-xr-xazalea-client/src/connect.rs19
1 files changed, 11 insertions, 8 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs
index 2a5066c6..3a4dfe79 100755
--- a/azalea-client/src/connect.rs
+++ b/azalea-client/src/connect.rs
@@ -167,14 +167,17 @@ impl Client {
println!("Got login packet {:?}", p);
state.lock().await.player.entity.id = p.player_id;
- conn.lock().await.write(
- ServerboundCustomPayloadPacket {
- identifier: ResourceLocation::new("brand").unwrap(),
- // they don't have to know :)
- data: "vanilla".into(),
- }
- .get(),
- );
+ conn.lock()
+ .await
+ .write(
+ ServerboundCustomPayloadPacket {
+ identifier: ResourceLocation::new("brand").unwrap(),
+ // they don't have to know :)
+ data: "vanilla".into(),
+ }
+ .get(),
+ )
+ .await;
tx.send(Event::Login).unwrap();
}