aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets
diff options
context:
space:
mode:
authorTijn <53775078+112batman@users.noreply.github.com>2023-12-17 22:52:34 +0100
committerGitHub <noreply@github.com>2023-12-17 15:52:34 -0600
commit7aca36805a9a6e8ab4e11ad0234a55dcf5dff311 (patch)
treef19403ea31474a024a2c53dbac554927da80b83d /azalea-protocol/src/packets
parent72154452c384b9fa9fd7c99977b88b4842884dab (diff)
downloadazalea-drasl-7aca36805a9a6e8ab4e11ad0234a55dcf5dff311.tar.xz
Publicize all fields on `AddOperation` and `Style` (#124)
The struct itself was already public, I assume the fields where meant to be as well.
Diffstat (limited to 'azalea-protocol/src/packets')
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_boss_event_packet.rs12
1 files 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)]