From 466fef4486e9fab3fb865f28edda7940dcb5eaa8 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 22:26:02 +0100 Subject: [PATCH] Remote eating: the sound plays for items without consume particles too Consumable.emitParticlesAndSounds gates only the particles on hasConsumeParticles; the sound always plays. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/remote.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/horizon-client/src/game/remote.rs b/crates/horizon-client/src/game/remote.rs index d1b457f5b..2a276f527 100644 --- a/crates/horizon-client/src/game/remote.rs +++ b/crates/horizon-client/src/game/remote.rs @@ -4810,9 +4810,10 @@ impl Game<'_> { // countdown goes on past zero (LivingEntity.updateUsingItem completes // only on the server) until the server's USE_ITEM_COMPLETE. let remaining = consumable.ticks() - ticks as i32; - if consumable.particles && consumable.should_emit(remaining) { - // `emit_consume` spawns the bites and plays the eat sound, as - // `tick_used_item` does on the player's own server. + if consumable.should_emit(remaining) { + // `emit_consume` plays the eat sound and spawns the bites (when the + // item has consume particles), as `tick_used_item` does on the + // player's own server. self.emit_consume(&consumable, &stack, 5); } self.using = Some((slot, ticks + 1));