diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_player_abilities_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/serverbound_player_abilities_packet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_player_abilities_packet.rs b/azalea-protocol/src/packets/game/serverbound_player_abilities_packet.rs index ab1ae9a0..7f979363 100755 --- a/azalea-protocol/src/packets/game/serverbound_player_abilities_packet.rs +++ b/azalea-protocol/src/packets/game/serverbound_player_abilities_packet.rs @@ -23,7 +23,7 @@ impl McBufWritable for ServerboundPlayerAbilitiesPacket { if self.is_flying { byte |= 2; } - byte.write_into(buf)?; + u8::write_into(&byte, buf)?; Ok(()) } } |
