diff --git a/crates/horizon-client/src/game/potions.rs b/crates/horizon-client/src/game/potions.rs index 635277ff8..8bcbf0561 100644 --- a/crates/horizon-client/src/game/potions.rs +++ b/crates/horizon-client/src/game/potions.rs @@ -1230,11 +1230,7 @@ impl Game<'_> { let m = &mut self.mobs[i]; if harm { let harm = m.potion_harm((intensity * f64::from(6 << amp) + 0.5) as i32 as f32); - m.hurt( - harm, - Some([at.x, at.y, at.z]), - &mut self.world.random, - ); + m.hurt(harm, Some([at.x, at.y, at.z]), &mut self.world.random); } else { m.health = (m.health + (intensity * f64::from(4 << amp) + 0.5) as i32 as f32) .min(m.kind.max_health); diff --git a/crates/horizon-client/src/game/wither.rs b/crates/horizon-client/src/game/wither.rs index 83772d5fa..2f69ce7f1 100644 --- a/crates/horizon-client/src/game/wither.rs +++ b/crates/horizon-client/src/game/wither.rs @@ -121,7 +121,7 @@ impl Game<'_> { } /// `WitherSkull.onHitEntity` / `onHit`: 8 damage (healing the wither 5 /// when it kills), withering on a hit (10 seconds on Normal, 40 on Hard, -/// none on Easy), then a power 1 blast. + /// none on Easy), then a power 1 blast. pub(super) fn wither_skull_hit( &mut self, p: &Projectile,