From eeec59adabb8c084c8b6b847a31130eb7c37d2ee Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 12 Oct 2023 22:39:29 -0500 Subject: KnockbackEvent and rename Physics::delta to velocity --- .../src/packets/game/clientbound_command_suggestions_packet.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'azalea-protocol/src/packets') diff --git a/azalea-protocol/src/packets/game/clientbound_command_suggestions_packet.rs b/azalea-protocol/src/packets/game/clientbound_command_suggestions_packet.rs index d1ad1240..13887331 100755 --- a/azalea-protocol/src/packets/game/clientbound_command_suggestions_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_command_suggestions_packet.rs @@ -1,13 +1,12 @@ use azalea_brigadier::suggestion::Suggestions; use azalea_buf::McBuf; -use azalea_chat::FormattedText; use azalea_protocol_macros::ClientboundGamePacket; #[derive(Clone, Debug, McBuf, ClientboundGamePacket)] pub struct ClientboundCommandSuggestionsPacket { #[var] pub id: u32, - pub suggestions: Suggestions, + pub suggestions: Suggestions, } #[cfg(test)] @@ -24,7 +23,7 @@ mod tests { vec![Suggestion::new_with_tooltip( StringRange::new(1, 4), "foo", - FormattedText::from("bar".to_string()), + "bar".to_string(), )], ); let mut buf = Vec::new(); -- cgit v1.2.3