diff options
| author | mat <git@matdoes.dev> | 2025-01-14 03:18:38 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-01-14 03:18:38 +0000 |
| commit | 2dcfbe96c3024f9e1d32473d58130efa518c91cf (patch) | |
| tree | fb3eba8d165d80ab47dc83b41adab124e32dad8a /azalea-client/src | |
| parent | a86d011d4ae869128dd404535f8d377c3a5e4c18 (diff) | |
| download | azalea-drasl-2dcfbe96c3024f9e1d32473d58130efa518c91cf.tar.xz | |
fix wrong ServerLinkKind and serialize hex colors correctly in nbt
Diffstat (limited to 'azalea-client/src')
| -rw-r--r-- | azalea-client/src/packet_handling/configuration.rs | 4 | ||||
| -rw-r--r-- | azalea-client/src/packet_handling/game.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/azalea-client/src/packet_handling/configuration.rs b/azalea-client/src/packet_handling/configuration.rs index c3eedc8d..8eccebf5 100644 --- a/azalea-client/src/packet_handling/configuration.rs +++ b/azalea-client/src/packet_handling/configuration.rs @@ -47,8 +47,8 @@ pub fn send_packet_events( )) { Ok(packet) => packet, Err(err) => { - error!("failed to read packet: {:?}", err); - debug!("packet bytes: {:?}", raw_packet); + error!("failed to read packet: {err:?}"); + debug!("packet bytes: {raw_packet:?}"); continue; } }; diff --git a/azalea-client/src/packet_handling/game.rs b/azalea-client/src/packet_handling/game.rs index 4d1d9e10..57e6ce68 100644 --- a/azalea-client/src/packet_handling/game.rs +++ b/azalea-client/src/packet_handling/game.rs @@ -165,8 +165,8 @@ pub fn send_packet_events( { Ok(packet) => packet, Err(err) => { - error!("failed to read packet: {:?}", err); - debug!("packet bytes: {:?}", raw_packet); + error!("failed to read packet: {err:?}"); + debug!("packet bytes: {raw_packet:?}"); continue; } }; |
