From 357824014e7c521d168f01d37d0f884081c5d7af Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 24 Apr 2024 03:58:26 +0000 Subject: [PATCH] fix ClientboundLevelParticlesPacket --- .../src/packets/game/clientbound_level_particles_packet.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azalea-protocol/src/packets/game/clientbound_level_particles_packet.rs b/azalea-protocol/src/packets/game/clientbound_level_particles_packet.rs index 437eb68e..b543d4f0 100755 --- a/azalea-protocol/src/packets/game/clientbound_level_particles_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_level_particles_packet.rs @@ -1,6 +1,6 @@ use azalea_buf::McBuf; +use azalea_entity::particle::Particle; use azalea_protocol_macros::ClientboundGamePacket; -use azalea_registry::ParticleKind; #[derive(Clone, Debug, McBuf, ClientboundGamePacket)] pub struct ClientboundLevelParticlesPacket { @@ -12,7 +12,6 @@ pub struct ClientboundLevelParticlesPacket { pub y_dist: f32, pub z_dist: f32, pub max_speed: f32, - #[var] pub count: u32, - pub particle: ParticleKind, + pub particle: Particle, }