1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 23:44:38 +00:00

Publicize all fields on AddOperation and Style (#124)

The struct itself was already public, I assume the fields where meant to be as well.
This commit is contained in:
Tijn 2023-12-17 22:52:34 +01:00 committed by GitHub
commit 7aca36805a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,16 +76,16 @@ impl McBufWritable for Operation {
#[derive(Clone, Debug, McBuf)] #[derive(Clone, Debug, McBuf)]
pub struct AddOperation { pub struct AddOperation {
name: FormattedText, pub name: FormattedText,
progress: f32, pub progress: f32,
style: Style, pub style: Style,
properties: Properties, pub properties: Properties,
} }
#[derive(Clone, Debug, McBuf)] #[derive(Clone, Debug, McBuf)]
pub struct Style { pub struct Style {
color: BossBarColor, pub color: BossBarColor,
overlay: BossBarOverlay, pub overlay: BossBarOverlay,
} }
#[derive(McBuf, Clone, Copy, Debug)] #[derive(McBuf, Clone, Copy, Debug)]