Skip to content

Commit

Permalink
Make all skin parts shown as default
Browse files Browse the repository at this point in the history
  • Loading branch information
StackDoubleFlow committed Aug 19, 2024
1 parent 83e3803 commit cebe4ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/core/src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ impl Default for PlayerData {
}

bitflags! {
#[derive(Default)]
pub struct SkinParts: u32 {
const CAPE = 0x01;
const JACKET = 0x02;
Expand All @@ -83,6 +82,12 @@ bitflags! {
}
}

impl Default for SkinParts {
fn default() -> Self {
Self::from_bits(0b1111111).unwrap()
}
}

#[derive(Clone, Copy, Debug)]
pub struct PlayerPos {
pub x: f64,
Expand Down

0 comments on commit cebe4ca

Please sign in to comment.