From 7c5bd06dfe7018793e2db3260b5a887d910e6a27 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sat, 17 Oct 2026 21:40:51 +0200 Subject: [PATCH] lan_bot: the command tree arrives parsed (#708) Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/tests/lan_bot.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/horizon-client/tests/lan_bot.rs b/crates/horizon-client/tests/lan_bot.rs index 36f53444c..8672ba5a4 100644 --- a/crates/horizon-client/tests/lan_bot.rs +++ b/crates/horizon-client/tests/lan_bot.rs @@ -341,9 +341,7 @@ fn status_and_join() { C::PlayerInfoUpdate(u) => { info |= u.entries.iter().any(|e| e.name.as_deref() == Some("Host")); } - C::Unknown(id, _) if id == horizon_protocol::ids::play::clientbound::COMMANDS => { - commands = true - } + C::Commands(_) => commands = true, C::LevelChunkWithLight(l) => { chunks += 1; let sections = l.chunk.sections(24, 16, 7).map_err(|e| e.to_string())?;