aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/handshake
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/handshake
parent93730a550aed964d122bc08f5353e8eb0c5c9f31 (diff)
downloadazalea-drasl-f0792f25bbbf4ab038b4c1a0cdb4294f3580b16c.tar.xz
add derive McBuf to every packet
Diffstat (limited to 'azalea-protocol/src/packets/handshake')
-rwxr-xr-xazalea-protocol/src/packets/handshake/client_intention_packet.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/handshake/client_intention_packet.rs b/azalea-protocol/src/packets/handshake/client_intention_packet.rs
index 98caf34c..410c11ab 100755
--- a/azalea-protocol/src/packets/handshake/client_intention_packet.rs
+++ b/azalea-protocol/src/packets/handshake/client_intention_packet.rs
@@ -1,8 +1,8 @@
use crate::packets::ConnectionProtocol;
-use packet_macros::HandshakePacket;
+use packet_macros::{HandshakePacket, McBuf};
use std::hash::Hash;
-#[derive(Hash, Clone, Debug, HandshakePacket)]
+#[derive(Hash, Clone, Debug, McBuf, HandshakePacket)]
pub struct ClientIntentionPacket {
#[var]
pub protocol_version: u32,