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
parent 72154452c3
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)]
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)]