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

This commit is contained in:
we sell insurance
2024-08-22 19:39:36 -05:00
parent 59a4fe525d
commit ebb5727bbd

View File

@@ -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),
}
}