diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs index 29b35fec7..20acf1030 100644 --- a/crates/horizon-client/src/game.rs +++ b/crates/horizon-client/src/game.rs @@ -8485,7 +8485,9 @@ impl Game<'_> { let reach: f64 = if self.creative { 5.0 } else { 3.0 }; let mut best: Option<(usize, f64)> = None; for (i, m) in self.mobs.iter().enumerate() { - if !m.alive() { + // ProjectileUtil.getEntityHitResult: the mob the player rides + // shares its root vehicle and is never the hit. + if !m.alive() || Some(m.id) == self.riding { continue; } if let Some(t) = ray_box(eye, dir, reach, m.bounds())