mirror of
https://github.com/mat-1/azalea.git
synced 2024-09-19 14:42:32 +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)]
|
||||
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)]
|
||||
|
|
Loading…
Reference in a new issue