From cd9a05e5a62190b3d4a2a733bf637d6324aec5fd Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 25 Jun 2022 02:33:28 -0500 Subject: read_into -> read_from yeah --- azalea-protocol/src/packets/game/clientbound_player_position_packet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/game/clientbound_player_position_packet.rs') diff --git a/azalea-protocol/src/packets/game/clientbound_player_position_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_position_packet.rs index 29f7c1a3..d28d6620 100644 --- a/azalea-protocol/src/packets/game/clientbound_player_position_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_player_position_packet.rs @@ -28,7 +28,7 @@ pub struct RelativeArguments { } impl McBufReadable for RelativeArguments { - fn read_into(buf: &mut impl Read) -> Result { + fn read_from(buf: &mut impl Read) -> Result { let byte = buf.read_byte()?; Ok(RelativeArguments { x: byte & 0b1 != 0, -- cgit v1.2.3