aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_map_item_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_map_item_data.rs')
-rw-r--r--azalea-protocol/src/packets/game/c_map_item_data.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/azalea-protocol/src/packets/game/c_map_item_data.rs b/azalea-protocol/src/packets/game/c_map_item_data.rs
index eaf5dc9f..2330ce07 100644
--- a/azalea-protocol/src/packets/game/c_map_item_data.rs
+++ b/azalea-protocol/src/packets/game/c_map_item_data.rs
@@ -4,7 +4,7 @@ use azalea_buf::{AzBuf, AzaleaRead, AzaleaWrite};
use azalea_chat::FormattedText;
use azalea_protocol_macros::ClientboundGamePacket;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
+#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundMapItemData {
#[var]
pub map_id: u32,
@@ -14,7 +14,7 @@ pub struct ClientboundMapItemData {
pub color_patch: OptionalMapPatch,
}
-#[derive(Clone, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct MapDecoration {
pub decoration_type: DecorationType,
pub x: i8,
@@ -25,7 +25,7 @@ pub struct MapDecoration {
pub name: Option<FormattedText>,
}
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Clone, Debug, PartialEq)]
pub struct OptionalMapPatch(pub Option<MapPatch>);
impl AzaleaRead for OptionalMapPatch {
@@ -49,7 +49,7 @@ impl AzaleaWrite for OptionalMapPatch {
}
}
-#[derive(Debug, Clone, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct MapPatch {
pub width: u8,
pub height: u8,
@@ -58,7 +58,7 @@ pub struct MapPatch {
pub map_colors: Vec<u8>,
}
-#[derive(Clone, Copy, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Copy, Debug, PartialEq)]
pub enum DecorationType {
Player,
Frame,