From ebb5727bbd493141f68047f467147ca1601dd0ff Mon Sep 17 00:00:00 2001 From: we sell insurance Date: Thu, 22 Aug 2024 19:39:36 -0500 Subject: [PATCH] Change to print hex packet id instead of decimal for umimplemented packets --- pumpkin/src/client/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pumpkin/src/client/mod.rs b/pumpkin/src/client/mod.rs index 837976873..ec824cf39 100644 --- a/pumpkin/src/client/mod.rs +++ b/pumpkin/src/client/mod.rs @@ -311,7 +311,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), } }