diff options
| author | EightFactorial <murphkev000@gmail.com> | 2023-01-25 09:51:27 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-25 11:51:27 -0600 |
| commit | 9a66cb97a659ed1f0e52ba3d9438de1d9b78d64a (patch) | |
| tree | 16405cec7c45fb952509a5f93f6970b511315046 /azalea-protocol/src/packets/game/serverbound_player_input_packet.rs | |
| parent | 473c74175c3a8189616bded528e3e6e4785dd3c8 (diff) | |
| download | azalea-drasl-9a66cb97a659ed1f0e52ba3d9438de1d9b78d64a.tar.xz | |
Fix test and packets (#60)
* Fix test and packets
* Fix bug, fix a couple more packets
* add tests and fix stuff
* fix warnings
Co-authored-by: Ubuntu <github@matdoes.dev>
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; } |
