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 --- .../src/packets/game/clientbound_update_attributes_packet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs') diff --git a/azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs b/azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs index 3eca2a84..c1f57cda 100644 --- a/azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs @@ -34,7 +34,7 @@ enum Operation { } impl McBufReadable for Operation { - fn read_into(buf: &mut impl Read) -> Result { + fn read_from(buf: &mut impl Read) -> Result { match buf.read_byte()? { 0 => Ok(Operation::Addition), 1 => Ok(Operation::MultiplyBase), -- cgit v1.2.3