Change to print hex packet id instead of decimal for umimplemented packets
This commit is contained in:
1 file changed
+1
-1
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user