Skip to content

Commit

Permalink
Merge pull request #58 from neeleshpoli/packet-id
Browse files Browse the repository at this point in the history
Print packet id in hex instead of decimal
  • Loading branch information
Snowiiii authored Aug 23, 2024
2 parents 8068b5d + 7ec8c86 commit f9134b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumpkin/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ impl Client {
SPlayPingRequest::PACKET_ID => {
self.handle_play_ping_request(server, SPlayPingRequest::read(bytebuf).unwrap())
}
_ => log::error!("Failed to handle player packet id {}", packet.id.0),
_ => log::error!("Failed to handle player packet id {:#04x}", packet.id.0),
}
}

Expand Down

0 comments on commit f9134b5

Please sign in to comment.