diff options
| author | Tijn <53775078+112batman@users.noreply.github.com> | 2023-12-17 22:52:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-17 15:52:34 -0600 |
| commit | 7aca36805a9a6e8ab4e11ad0234a55dcf5dff311 (patch) | |
| tree | f19403ea31474a024a2c53dbac554927da80b83d /azalea-protocol/src | |
| parent | 72154452c384b9fa9fd7c99977b88b4842884dab (diff) | |
| download | azalea-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')
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_boss_event_packet.rs | 12 |
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)] |
