diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_player_input_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/serverbound_player_input_packet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_player_input_packet.rs b/azalea-protocol/src/packets/game/serverbound_player_input_packet.rs index 30d3c3ae..2bd7f6eb 100755 --- a/azalea-protocol/src/packets/game/serverbound_player_input_packet.rs +++ b/azalea-protocol/src/packets/game/serverbound_player_input_packet.rs @@ -32,7 +32,7 @@ impl McBufWritable for ServerboundPlayerInputPacket { fn write_into(&self, buf: &mut impl std::io::Write) -> Result<(), std::io::Error> { self.xxa.write_into(buf)?; self.zza.write_into(buf)?; - let mut byte = 0; + let mut byte = 0u8; if self.is_jumping { byte |= 1; } |
