diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs index 8e591cf3b..9d85ddb22 100644 --- a/crates/horizon-client/src/game.rs +++ b/crates/horizon-client/src/game.rs @@ -670,15 +670,22 @@ impl EntityObstructionWorld for BuildingObstruction { } } impl GameLevel<'_> { - /// The mobs that trigger plates and tripwires: living entities that don't - /// ignore block triggers (`Entity.isIgnoringBlockTriggers`: bats; armor - /// stands are not in `mobs`). + /// The living entities that trigger plates and tripwires and don't ignore + /// block triggers (`Entity.isIgnoringBlockTriggers`: bats and marker armor + /// stands). Armor stands live apart from `mobs`. fn mob_trigger_boxes(&self) -> impl Iterator + '_ { self.blockers .mobs .iter() .filter(|m| !m.removed && m.species() != horizon_client::mobs::Species::Bat) .map(Mob::bounds) + .chain( + self.blockers + .armor_stands + .iter() + .filter(|s| !s.marker) + .map(|s| s.bounds()), + ) } /// The non-living entities that trigger plates and tripwires (boats, /// crystals, primed TNT, falling blocks, item entities, experience orbs and