diff options
| author | mat <git@matdoes.dev> | 2024-04-24 03:58:26 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-04-24 03:58:26 +0000 |
| commit | 357824014e7c521d168f01d37d0f884081c5d7af (patch) | |
| tree | ad5c7868d051e75fe05703b004826c03a55d35d0 | |
| parent | 79a0d58cc5e6528f570ad6a1f522bbf6bc2995ac (diff) | |
| download | azalea-drasl-357824014e7c521d168f01d37d0f884081c5d7af.tar.xz | |
fix ClientboundLevelParticlesPacket
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_level_particles_packet.rs | 5 |
1 files 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, } |
