aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_container_click.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_container_click.rs')
-rw-r--r--azalea-protocol/src/packets/game/s_container_click.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/azalea-protocol/src/packets/game/s_container_click.rs b/azalea-protocol/src/packets/game/s_container_click.rs
index bfce320e..423af5cb 100644
--- a/azalea-protocol/src/packets/game/s_container_click.rs
+++ b/azalea-protocol/src/packets/game/s_container_click.rs
@@ -5,7 +5,7 @@ use azalea_protocol_macros::ServerboundGamePacket;
use azalea_registry::builtin::{DataComponentKind, ItemKind};
use indexmap::IndexMap;
-#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundGamePacket)]
+#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
pub struct ServerboundContainerClick {
#[var]
pub container_id: i32,
@@ -20,10 +20,10 @@ pub struct ServerboundContainerClick {
/// Similar to an [`ItemStack`] but only carrying a CRC32 hash of the value of
/// added data components instead of their entire contents.
-#[derive(Clone, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct HashedStack(pub Option<HashedActualItem>);
-#[derive(Clone, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct HashedActualItem {
pub kind: ItemKind,
#[var]
@@ -31,7 +31,7 @@ pub struct HashedActualItem {
pub components: HashedPatchMap,
}
-#[derive(Clone, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct HashedPatchMap {
#[limit(256)]
pub added_components: Vec<(DataComponentKind, Checksum)>,