From 7aca36805a9a6e8ab4e11ad0234a55dcf5dff311 Mon Sep 17 00:00:00 2001 From: Tijn <53775078+112batman@users.noreply.github.com> Date: Sun, 17 Dec 2023 22:52:34 +0100 Subject: [PATCH] Publicize all fields on `AddOperation` and `Style` (#124) The struct itself was already public, I assume the fields where meant to be as well. --- .../packets/game/clientbound_boss_event_packet.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/azalea-protocol/src/packets/game/clientbound_boss_event_packet.rs b/azalea-protocol/src/packets/game/clientbound_boss_event_packet.rs index d28b1e61..16fb6f61 100755 --- a/azalea-protocol/src/packets/game/clientbound_boss_event_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_boss_event_packet.rs @@ -76,16 +76,16 @@ impl McBufWritable for Operation { #[derive(Clone, Debug, McBuf)] pub struct AddOperation { - name: FormattedText, - progress: f32, - style: Style, - properties: Properties, + pub name: FormattedText, + pub progress: f32, + pub style: Style, + pub properties: Properties, } #[derive(Clone, Debug, McBuf)] pub struct Style { - color: BossBarColor, - overlay: BossBarOverlay, + pub color: BossBarColor, + pub overlay: BossBarOverlay, } #[derive(McBuf, Clone, Copy, Debug)]