mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
Update packet_inspector
This commit is contained in:
parent
5fb46178dd
commit
27033c758e
|
@ -68,4 +68,4 @@ num = "0.4"
|
|||
protocol = []
|
||||
|
||||
[workspace]
|
||||
members = ["packet-inspector", "valence_nbt"]
|
||||
members = ["valence_nbt", "packet_inspector"]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "packet-inspector"
|
||||
name = "packet_inspector"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "A simple Minecraft proxy for inspecting packets."
|
|
@ -46,9 +46,9 @@ impl Cli {
|
|||
fn print(&self, d: &impl fmt::Debug) {
|
||||
if self.timestamp {
|
||||
let now: DateTime<Utc> = Utc::now();
|
||||
println!("{now} {d:?}");
|
||||
println!("{now} {d:#?}");
|
||||
} else {
|
||||
println!("{d:?}");
|
||||
println!("{d:#?}");
|
||||
}
|
||||
}
|
||||
|
|
@ -138,7 +138,7 @@ pub mod ident;
|
|||
pub mod player_list;
|
||||
pub mod player_textures;
|
||||
#[allow(dead_code)]
|
||||
mod protocol;
|
||||
pub mod protocol;
|
||||
pub mod server;
|
||||
mod slab;
|
||||
mod slab_rc;
|
||||
|
|
Loading…
Reference in a new issue