diff --git a/src/packet/ping.rs b/src/packet/ping.rs index 82531ae..68c704d 100644 --- a/src/packet/ping.rs +++ b/src/packet/ping.rs @@ -15,7 +15,7 @@ impl BinRead for Ping { args: Self::Args<'_>, ) -> binrw::BinResult { let tick1 = i32::read_options(reader, endian, args)?; - let mut tick2_buf = [0u8; 4]; + /*let mut tick2_buf = [0u8; 4]; if let Ok(count) = reader.read(&mut tick2_buf) { if count == tick2_buf.len() { return Ok(Self { @@ -23,7 +23,7 @@ impl BinRead for Ping { tick2: Some(i32::from_be_bytes(tick2_buf)), }) } - } + }*/ Ok(Self { tick1, tick2: None,