mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
Fix conflicting Debug impl on bitfield structs
This commit is contained in:
parent
842ddb4127
commit
b61bdbb71d
|
@ -17,7 +17,7 @@ approx = "0.5.1"
|
|||
arrayvec = "0.7.2"
|
||||
async-trait = "0.1.57"
|
||||
base64 = "0.13.0"
|
||||
bitfield-struct = "0.1.7"
|
||||
bitfield-struct = "0.1.8"
|
||||
bytes = "1.2.1"
|
||||
flume = "0.10.14"
|
||||
futures = "0.3.24"
|
||||
|
|
|
@ -215,7 +215,7 @@ pub enum BossBarDivision {
|
|||
}
|
||||
|
||||
#[bitfield(u8)]
|
||||
#[derive(PartialEq, Eq, Debug, Encode, Decode)]
|
||||
#[derive(PartialEq, Eq, Encode, Decode)]
|
||||
pub struct BossBarFlags {
|
||||
pub darken_sky: bool,
|
||||
pub dragon_bar: bool,
|
||||
|
@ -311,7 +311,7 @@ pub struct PlayerInfoAddPlayer<'a> {
|
|||
}
|
||||
|
||||
#[bitfield(u8)]
|
||||
#[derive(PartialEq, Eq, Debug, Encode, Decode)]
|
||||
#[derive(PartialEq, Eq, Encode, Decode)]
|
||||
pub struct DisplayedSkinParts {
|
||||
pub cape: bool,
|
||||
pub jacket: bool,
|
||||
|
@ -324,7 +324,7 @@ pub struct DisplayedSkinParts {
|
|||
}
|
||||
|
||||
#[bitfield(u8)]
|
||||
#[derive(PartialEq, Eq, Debug, Encode, Decode)]
|
||||
#[derive(PartialEq, Eq, Encode, Decode)]
|
||||
pub struct PlayerInputFlags {
|
||||
pub jump: bool,
|
||||
pub unmount: bool,
|
||||
|
@ -333,7 +333,7 @@ pub struct PlayerInputFlags {
|
|||
}
|
||||
|
||||
#[bitfield(u8)]
|
||||
#[derive(PartialEq, Eq, Debug, Encode, Decode)]
|
||||
#[derive(PartialEq, Eq, Encode, Decode)]
|
||||
pub struct CommandBlockFlags {
|
||||
pub track_output: bool,
|
||||
pub conditional: bool,
|
||||
|
@ -343,7 +343,7 @@ pub struct CommandBlockFlags {
|
|||
}
|
||||
|
||||
#[bitfield(u8)]
|
||||
#[derive(PartialEq, Eq, Debug, Encode, Decode)]
|
||||
#[derive(PartialEq, Eq, Encode, Decode)]
|
||||
pub struct StructureBlockFlags {
|
||||
pub ignore_entities: bool,
|
||||
pub show_air: bool,
|
||||
|
@ -353,7 +353,7 @@ pub struct StructureBlockFlags {
|
|||
}
|
||||
|
||||
#[bitfield(u8)]
|
||||
#[derive(PartialEq, Eq, Debug, Encode, Decode)]
|
||||
#[derive(PartialEq, Eq, Encode, Decode)]
|
||||
pub struct SyncPlayerPosLookFlags {
|
||||
pub x: bool,
|
||||
pub y: bool,
|
||||
|
|
Loading…
Reference in a new issue