aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_level_particles.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-12-19 02:31:08 +0000
committermat <git@matdoes.dev>2024-12-19 02:52:41 +0000
commite268c4929177e540baa9d2bb29bc171f49cc7a25 (patch)
tree10146e529088ab823452a5971c0a37a8886b2a68 /azalea-protocol/src/packets/game/c_level_particles.rs
parent1f06a1540f46d8087907566d7c6c1ab397c517ec (diff)
downloadazalea-drasl-e268c4929177e540baa9d2bb29bc171f49cc7a25.tar.xz
fix incorrect packets
Diffstat (limited to 'azalea-protocol/src/packets/game/c_level_particles.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/c_level_particles.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/c_level_particles.rs b/azalea-protocol/src/packets/game/c_level_particles.rs
index ef50d0cd..4f77af84 100755
--- a/azalea-protocol/src/packets/game/c_level_particles.rs
+++ b/azalea-protocol/src/packets/game/c_level_particles.rs
@@ -1,4 +1,5 @@
use azalea_buf::AzBuf;
+use azalea_core::position::Vec3;
use azalea_entity::particle::Particle;
use azalea_protocol_macros::ClientboundGamePacket;
@@ -6,9 +7,7 @@ use azalea_protocol_macros::ClientboundGamePacket;
pub struct ClientboundLevelParticles {
pub override_limiter: bool,
pub always_show: bool,
- pub x: f64,
- pub y: f64,
- pub z: f64,
+ pub pos: Vec3,
pub x_dist: f32,
pub y_dist: f32,
pub z_dist: f32,