aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-10-12 22:39:29 -0500
committermat <git@matdoes.dev>2023-10-12 22:39:29 -0500
commiteeec59adabb8c084c8b6b847a31130eb7c37d2ee (patch)
tree6ffa8e6d83ba5d6095062abf06406edf7f10d276 /azalea-protocol
parent79ad1e93bf6ce2b7c2da6925a7c85b33bb76f154 (diff)
downloadazalea-drasl-eeec59adabb8c084c8b6b847a31130eb7c37d2ee.tar.xz
KnockbackEvent and rename Physics::delta to velocity
Diffstat (limited to 'azalea-protocol')
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_command_suggestions_packet.rs5
1 files changed, 2 insertions, 3 deletions
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<FormattedText>,
+ 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();