mirror of
https://codeberg.org/demostf/inspector.git
synced 2026-06-03 18:14:08 +02:00
update deps
This commit is contained in:
parent
a6a69cb440
commit
176bc572b9
3 changed files with 91 additions and 62 deletions
|
|
@ -52,7 +52,7 @@ impl Parser {
|
|||
let mut class_names = Vec::new();
|
||||
|
||||
while let Some(packet) = packet_stream.next(handler.get_parser_state()).unwrap() {
|
||||
let tick = packet.tick();
|
||||
let tick = u32::from(packet.tick());
|
||||
packets.push(packet.clone());
|
||||
|
||||
if let Packet::DataTables(DataTablePacket {
|
||||
|
|
@ -108,7 +108,7 @@ impl Parser {
|
|||
.enumerate()
|
||||
.map(|(index, packet)| PacketMeta {
|
||||
index,
|
||||
tick: packet.tick(),
|
||||
tick: u32::from(packet.tick()),
|
||||
ty: packet.packet_type() as u8,
|
||||
})
|
||||
.map(|meta| JsValue::from_serde(&meta).unwrap())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue