Skip to content

Commit d2aff00

Browse files
committed
fix: deserialize pos flags as byte
1 parent 1eb5cb7 commit d2aff00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crawlspace/src/protocol/packets/play/position.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct SetPlayerPositionAndRotationS {
5151
}
5252

5353
#[derive(Clone, Debug, Decode)]
54-
pub struct PosRotFlags(i32);
54+
pub struct PosRotFlags(u8);
5555

5656
impl PosRotFlags {
5757
const fn is_on_ground(&self) -> bool {

0 commit comments

Comments
 (0)