diff options
Diffstat (limited to 'azalea-client/src')
| -rwxr-xr-x | azalea-client/src/connect.rs | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index e63c9b07..cb2bec9c 100755 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -200,12 +200,12 @@ impl Client { let mut state = state.lock().await; - // write p into login.txt - std::io::Write::write_all( - &mut std::fs::File::create("login.txt").unwrap(), - format!("{:#?}", p).as_bytes(), - ) - .unwrap(); + // // write p into login.txt + // std::io::Write::write_all( + // &mut std::fs::File::create("login.txt").unwrap(), + // format!("{:#?}", p).as_bytes(), + // ) + // .unwrap(); state.player.entity.id = p.player_id; @@ -444,6 +444,9 @@ impl Client { GamePacket::ClientboundLevelParticlesPacket(p) => { println!("Got level particles packet {:?}", p); } + GamePacket::ClientboundServerDataPacket(p) => { + println!("Got server data packet {:?}", p); + } _ => panic!("Unexpected packet {:?}", packet), } } |
