From 5876014b5705bd18d0a07c95a7523bce2d2927ef Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Thu, 15 Oct 2026 10:36:37 +0200 Subject: [PATCH] Droppers and hoppers don't take a beehive for a container Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/machines.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/horizon-client/src/game/machines.rs b/crates/horizon-client/src/game/machines.rs index 31affaa3f..1afc5638a 100644 --- a/crates/horizon-client/src/game/machines.rs +++ b/crates/horizon-client/src/game/machines.rs @@ -159,6 +159,10 @@ impl Containers<'_> { }); } let entity = self.world.block_entities.get(&pos)?; + // A beehive keeps bees, not items: it is no `Container`. + if matches!(entity, BlockEntity::Beehive(_)) { + return None; + } let kind = match (entity, name) { (BlockEntity::Furnace(_), _) => Kind::Furnace, (BlockEntity::Crafter(_), _) => Kind::Crafter,