From ef357fdf3667f3ded03203fc0f7cdec48a01ad8f Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Tue, 25 Mar 2025 11:17:39 -0500 Subject: 1.21.5 (#198) * 25w02a * move item_components codegen to a different module * remove outdated test * 25w03a * start updating to 24w09b * 1.21.5-pre2 * fix broken packets * 1.21.5-rc2 * merge main * delete unused acket_handling * 1.21.5 --- azalea-protocol/src/packets/game/c_set_equipment.rs | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'azalea-protocol/src/packets/game/c_set_equipment.rs') diff --git a/azalea-protocol/src/packets/game/c_set_equipment.rs b/azalea-protocol/src/packets/game/c_set_equipment.rs index 234de5d9..ad691d66 100755 --- a/azalea-protocol/src/packets/game/c_set_equipment.rs +++ b/azalea-protocol/src/packets/game/c_set_equipment.rs @@ -80,22 +80,3 @@ impl EquipmentSlot { } } } - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn test_hypixel_set_equipment() { - let mut cursor = Cursor::new( - [ - 230, 25, 0, 1, 224, 6, 2, 0, 3, 0, 22, 79, 0, 0, 0, 3, 0, 0, 0, 0, 0, - ] - .as_slice(), - ); - - let packet = ClientboundSetEquipment::azalea_read(&mut cursor).unwrap(); - println!("packet {packet:?}"); - assert_eq!(cursor.position(), cursor.get_ref().len() as u64); - } -} -- cgit v1.2.3