From e5fcfa119309877ab515b921f8ada5f1b1ec4c30 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 26 Apr 2022 15:33:41 +0000 Subject: default implementation for read and write Vec --- azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs') 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 3138106e..9e1e1df5 100755 --- a/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs +++ b/azalea-protocol/src/packets/login/clientbound_custom_query_packet.rs @@ -1,3 +1,4 @@ +use crate::mc_buf::UnsizedByteArray; use azalea_core::resource_location::ResourceLocation; use packet_macros::LoginPacket; use std::hash::Hash; @@ -7,5 +8,5 @@ pub struct ClientboundCustomQueryPacket { #[varint] pub transaction_id: u32, pub identifier: ResourceLocation, - pub data: Vec, + pub data: UnsizedByteArray, } -- cgit v1.2.3