Change to print hex packet id instead of decimal for umimplemented packets

This commit is contained in:
we sell insurance committed 2024-08-22 19:39:36 -05:00
1 parent 59a4fe525d
commit ebb5727bbd
1 file changed
+1 -1
+1 -1
View File
@@ -311,7 +311,7 @@ impl Client {
SPlayPingRequest::PACKET_ID => { SPlayPingRequest::PACKET_ID => {
self.handle_play_ping_request(server, SPlayPingRequest::read(bytebuf).unwrap()) 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),
} }
} }