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:
parent
72154452c3
commit
7aca36805a
1 changed files with 6 additions and 6 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue