From 89002a908fe56ca6e7bb394ed49c1c955d4a403a Mon Sep 17 00:00:00 2001 From: Wyatt Herkamp Date: Thu, 23 Jun 2022 08:35:34 -0400 Subject: [PATCH] Remove Debug Messages --- src/api/tests/protocol.rs | 4 +--- src/models/protocol/mod.rs | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/api/tests/protocol.rs b/src/api/tests/protocol.rs index 6ab309f..7eda49c 100644 --- a/src/api/tests/protocol.rs +++ b/src/api/tests/protocol.rs @@ -19,9 +19,7 @@ pub fn simple_test() { let protocol1 = protocol.get_protocol(); match protocol1 { Ok(data) => { - for x in data.play.to_server.types { - println!("{:#?}", x); - } + } Err(error) => { panic!("Minecraft Version {} could not be parsed into a Protocol object: {}", arc.minecraft_version, error); diff --git a/src/models/protocol/mod.rs b/src/models/protocol/mod.rs index 8f8e508..8eab803 100644 --- a/src/models/protocol/mod.rs +++ b/src/models/protocol/mod.rs @@ -108,7 +108,6 @@ impl<'de> Deserialize<'de> for PacketTypes { } } else if let Value::Array( array) = value { let value1 = Value::Array(vec![Value::String(key.clone()), Value::Array(array)]); - println!("{:#?}", value1); let inner_type = types::build_inner_type(value1); packets.push(Packet { name: key,