From dec544a52ba738e2d0e2c3a042e5ccc0cb336ffb Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 15 Aug 2024 01:24:03 +0000 Subject: fix ClientboundLevelParticlesPacket errors and pathfinder /particle errors --- azalea/src/pathfinder/debug.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'azalea/src/pathfinder') diff --git a/azalea/src/pathfinder/debug.rs b/azalea/src/pathfinder/debug.rs index 201803c9..a5e51cdf 100644 --- a/azalea/src/pathfinder/debug.rs +++ b/azalea/src/pathfinder/debug.rs @@ -55,8 +55,6 @@ pub fn debug_render_path_with_particles( let mut start = executing_path.last_reached_node; for (i, movement) in executing_path.path.iter().enumerate() { - // /particle dust 0 1 1 1 ~ ~ ~ 0 0 0.2 0 100 - let end = movement.target; let start_vec3 = start.center(); @@ -91,7 +89,7 @@ pub fn debug_render_path_with_particles( z: start_vec3.z + (end_vec3.z - start_vec3.z) * percent, }; let particle_command = format!( - "/particle dust {r} {g} {b} {size} {start_x} {start_y} {start_z} {delta_x} {delta_y} {delta_z} 0 {count}", + "/particle dust{{color:[{r},{g},{b}],scale:{size}}} {start_x} {start_y} {start_z} {delta_x} {delta_y} {delta_z} 0 {count}", size = 1, start_x = pos.x, start_y = pos.y, -- cgit v1.2.3