diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-09-30 10:56:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-30 10:56:34 -0500 |
| commit | 643fcb98c0e6cdc63218dd39960d9053b209d9a6 (patch) | |
| tree | 6bddb7fe39b8fcc3ab3fb2665574533bb227898a /azalea-protocol/src/packets/game/c_level_particles.rs | |
| parent | a80d8d1b242430c4a251876fa67bfd26af7a0de9 (diff) | |
| download | azalea-drasl-643fcb98c0e6cdc63218dd39960d9053b209d9a6.tar.xz | |
1.21.9 (#235)
* start updating to 25w33a
* 1.21.9-pre2
* clippy
* cleanup, and fix c_explode and c_player_rotation
* mc update should be in Changed section in the changelog
* 1.21.9
Diffstat (limited to 'azalea-protocol/src/packets/game/c_level_particles.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_level_particles.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/azalea-protocol/src/packets/game/c_level_particles.rs b/azalea-protocol/src/packets/game/c_level_particles.rs index b93e0de8..8fd05138 100644 --- a/azalea-protocol/src/packets/game/c_level_particles.rs +++ b/azalea-protocol/src/packets/game/c_level_particles.rs @@ -15,23 +15,3 @@ pub struct ClientboundLevelParticles { pub count: u32, pub particle: Particle, } - -#[cfg(test)] -mod tests { - use std::io::Cursor; - - use azalea_buf::AzaleaRead; - - use super::*; - - #[test] - fn test_c_level_particles_packet() { - #[rustfmt::skip] - let slice = [0, 0, 192, 159, 104, 133, 28, 126, 5, 107, 192, 59, 0, 0, 0, 0, 0, 0, 64, 140, 27, 255, 120, 249, 188, 204, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 47, 1, 251, 245, 15, 64, 29, 194, 144, 12]; - let mut bytes = Cursor::new(slice.as_slice()); - - let packet = ClientboundLevelParticles::azalea_read(&mut bytes).unwrap(); - println!("{packet:?}"); - assert_eq!(bytes.position(), slice.len() as u64); - } -} |
