aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/read.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/read.rs')
-rwxr-xr-xazalea-protocol/src/read.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs
index 85340f5a..e2f6f0aa 100755
--- a/azalea-protocol/src/read.rs
+++ b/azalea-protocol/src/read.rs
@@ -172,10 +172,7 @@ where
azalea_crypto::decrypt_packet(cipher, buf.filled_mut());
}
}
- match r {
- Ok(()) => Poll::Ready(Ok(())),
- Err(e) => panic!("{:?}", e),
- }
+ Poll::Ready(r)
}
Poll::Pending => Poll::Pending,
}