diff options
| author | mat <github@matdoes.dev> | 2022-04-26 19:38:07 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-26 19:38:07 -0500 |
| commit | 9c69d7d5f2f704b1de37e1a102bf4390cdd879a5 (patch) | |
| tree | 5bef94cbfc34fca7045f220f226c581757f3953c /azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs | |
| parent | dd24110019c0ded21e064b2273acc326173c84f5 (diff) | |
| download | azalea-drasl-9c69d7d5f2f704b1de37e1a102bf4390cdd879a5.tar.xz | |
finish update recipes packet implementation
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs b/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs index dc914f73..2df78ce9 100755 --- a/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_declare_commands_packet.rs @@ -23,7 +23,6 @@ impl ClientboundDeclareCommandsPacket { buf: &mut T, ) -> Result<GamePacket, String> { let node_count = buf.read_varint().await?; - println!("node_count: {}", node_count); let mut nodes = Vec::with_capacity(node_count as usize); for _ in 0..node_count { let node = BrigadierNodeStub::read_into(buf).await?; @@ -55,20 +54,16 @@ impl McBufReadable for BrigadierNodeStub { let is_executable = flags & 0x04 != 0; let has_redirect = flags & 0x08 != 0; let has_suggestions_type = flags & 0x10 != 0; - println!("flags: {}, node_type: {}, is_executable: {}, has_redirect: {}, has_suggestions_type: {}", flags, node_type, is_executable, has_redirect, has_suggestions_type); let children = buf.read_int_id_list().await?; - println!("children: {:?}", children); let redirect_node = if has_redirect { buf.read_varint().await? } else { 0 }; - println!("redirect_node: {}", redirect_node); if node_type == 2 { let name = buf.read_utf().await?; - println!("name: {}", name); let resource_location = if has_suggestions_type { Some(buf.read_resource_location().await?) |
