diff options
| author | mat <github@matdoes.dev> | 2022-07-21 21:10:20 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-07-21 21:10:20 -0500 |
| commit | 3aa856b41325c3c184903aba8fb835557124131e (patch) | |
| tree | 87b52cc8149fa8cf7a4d07cefad6fd7e33fb838f /azalea-protocol/src/packets | |
| parent | c0ca03204f1c507d15ccb2699b69d08bd160139f (diff) | |
| download | azalea-drasl-3aa856b41325c3c184903aba8fb835557124131e.tar.xz | |
fix wrong imports
Diffstat (limited to 'azalea-protocol/src/packets')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_server_data_packet.rs | 1 | ||||
| -rw-r--r-- | azalea-protocol/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, } |
