From 3aa856b41325c3c184903aba8fb835557124131e Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 21 Jul 2022 21:10:20 -0500 Subject: [PATCH] fix wrong imports --- .../src/packets/game/clientbound_server_data_packet.rs | 1 + .../src/packets/game/serverbound_chat_ack_packet.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs b/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs index 2bfa00bd..ed91733e 100644 --- a/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_server_data_packet.rs @@ -1,4 +1,5 @@ use azalea_buf::McBuf; +use azalea_chat::component::Component; use packet_macros::GamePacket; #[derive(Clone, Debug, McBuf, GamePacket)] diff --git a/azalea-protocol/src/packets/game/serverbound_chat_ack_packet.rs b/azalea-protocol/src/packets/game/serverbound_chat_ack_packet.rs index 759373e9..921ca4c7 100644 --- a/azalea-protocol/src/packets/game/serverbound_chat_ack_packet.rs +++ b/azalea-protocol/src/packets/game/serverbound_chat_ack_packet.rs @@ -1,8 +1,8 @@ -use crate::packets::game::clientbound_player_chat_packet::LastSeenUpdate; +use crate::packets::game::clientbound_player_chat_packet::LastSeenMessagesUpdate; use azalea_buf::McBuf; use packet_macros::GamePacket; #[derive(Clone, Debug, McBuf, GamePacket)] pub struct ServerboundChatAckPacket { - pub last_seen_messages: LastSeenUpdate, + pub last_seen_messages: LastSeenMessagesUpdate, }