summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-03-27 19:42:27 +0200
committernea <nea@nea.moe>2023-03-27 19:42:27 +0200
commit54b1d736c4f0bb618ed69a6385600d0b2cd745c7 (patch)
tree25420ae80a1ff5850d744869999d816b309faf77
parenta61399997307b0a11aca94c6bd6735a26615b88d (diff)
downloadmgasi-54b1d736c4f0bb618ed69a6385600d0b2cd745c7.tar.gz
mgasi-54b1d736c4f0bb618ed69a6385600d0b2cd745c7.tar.bz2
mgasi-54b1d736c4f0bb618ed69a6385600d0b2cd745c7.zip
Fix missing await
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 1e1c306..405cc0e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -440,7 +440,7 @@ async fn handle_conn(mut client: MinecraftClient) -> Result<()> {
nbt: None,
}); 45].into(),
carried_item: None,
- }));
+ })).await?;
let mut i = 0;
loop {
client.send_packet(Packet761::KeepAliveClientBound(KeepAliveClientBoundSpec {