Skip to content

Commit

Permalink
Publicize all fields on AddOperation and Style (#124)
Browse files Browse the repository at this point in the history
The struct itself was already public, I assume the fields where meant to be as well.
  • Loading branch information
112batman authored Dec 17, 2023
1 parent 7215445 commit 7aca368
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 7aca368

Please sign in to comment.