From cd7dd8cc4cd6fe7765f82f0e2c6bdcf3dac887a1 Mon Sep 17 00:00:00 2001 From: AviiNL Date: Thu, 9 Mar 2023 13:02:03 +0100 Subject: [PATCH] Fix Particle packet id (#281) Fixes #267 ## Description Swap packet ids `ParticleS2c` with `LightUpdateS2c` ## Test Plan Steps: 1. Run the `particles.rs` example --- crates/valence_protocol/src/packet/s2c.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/valence_protocol/src/packet/s2c.rs b/crates/valence_protocol/src/packet/s2c.rs index fc2987e..202e33e 100644 --- a/crates/valence_protocol/src/packet/s2c.rs +++ b/crates/valence_protocol/src/packet/s2c.rs @@ -289,8 +289,8 @@ pub mod play { 31 = KeepAliveS2c, 32 = ChunkDataS2c<'a>, 33 = WorldEventS2c, - 34 = LightUpdateS2c, - 35 = ParticleS2c<'a>, + 34 = ParticleS2c<'a>, + 35 = LightUpdateS2c, 36 = GameJoinS2c<'a>, 37 = MapUpdateS2c<'a>, 38 = SetTradeOffersS2c,