diff options
| author | mat <github@matdoes.dev> | 2022-01-01 18:59:38 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-01-01 18:59:38 -0600 |
| commit | 9f576c5600ba9a244bc0d433bb7de174284066a2 (patch) | |
| tree | 4c571515d0cd85733e027ed262b449a512e87474 /azalea-client | |
| parent | 1a961d968b80b720ef2d3900c0b95e1c16a0089e (diff) | |
| download | azalea-drasl-9f576c5600ba9a244bc0d433bb7de174284066a2.tar.xz | |
start work on encryption
Diffstat (limited to 'azalea-client')
| -rw-r--r-- | azalea-client/src/connect.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index 90cb3ad7..7d987eab 100644 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -39,6 +39,7 @@ pub async fn join_server(address: &ServerAddress) -> Result<(), String> { Ok(packet) => match packet { LoginPacket::ClientboundHelloPacket(p) => { println!("Got encryption request {:?} {:?}", p.nonce, p.public_key); + panic!(""); } LoginPacket::ClientboundLoginCompressionPacket(p) => { println!("Got compression request {:?}", p.compression_threshold); @@ -73,7 +74,7 @@ pub async fn join_server(address: &ServerAddress) -> Result<(), String> { _ => panic!("unhandled packet"), }, Err(e) => { - println!("Error: {:?}", e); + panic!("Error: {:?}", e); } } } |
