aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-14 20:03:24 -0500
committermat <github@matdoes.dev>2022-05-14 20:03:24 -0500
commitf0792f25bbbf4ab038b4c1a0cdb4294f3580b16c (patch)
tree2123987d0b52c5a6f34d6255d259acc54aec77b1 /azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs
parent93730a550aed964d122bc08f5353e8eb0c5c9f31 (diff)
downloadazalea-drasl-f0792f25bbbf4ab038b4c1a0cdb4294f3580b16c.tar.xz
add derive McBuf to every packet
Diffstat (limited to 'azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs')
-rwxr-xr-xazalea-protocol/src/packets/login/clientbound_custom_query_packet.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs b/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs
index fc5dd1a2..1b1da87a 100755
--- a/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs
+++ b/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs
@@ -1,9 +1,9 @@
use crate::mc_buf::UnsizedByteArray;
use azalea_core::resource_location::ResourceLocation;
-use packet_macros::LoginPacket;
+use packet_macros::{LoginPacket, McBuf};
use std::hash::Hash;
-#[derive(Hash, Clone, Debug, LoginPacket)]
+#[derive(Hash, Clone, Debug, McBuf, LoginPacket)]
pub struct ClientboundCustomQueryPacket {
#[var]
pub transaction_id: u32,