diff --git a/crates/horizon-client/src/game/creatures.rs b/crates/horizon-client/src/game/creatures.rs index e483afc94..3145c2f75 100644 --- a/crates/horizon-client/src/game/creatures.rs +++ b/crates/horizon-client/src/game/creatures.rs @@ -3658,7 +3658,12 @@ impl Game<'_> { } // Parrot.mobInteract: the owner makes a tame parrot on the ground // sit or stand (poisonous food is handled apart). - Species::Parrot if m.extra.tame && m.on_ground && !parrot_poisonous => { + Species::Parrot + if m.extra.tame + && m.extra.owner == Some(acting) + && m.on_ground + && !parrot_poisonous => + { m.extra.sitting = !m.extra.sitting; self.world.modified.insert(( m.position.x.floor() as i32 >> 4, diff --git a/crates/horizon-client/src/game/lan_mobs.rs b/crates/horizon-client/src/game/lan_mobs.rs index 48c6e2145..bfc44beca 100644 --- a/crates/horizon-client/src/game/lan_mobs.rs +++ b/crates/horizon-client/src/game/lan_mobs.rs @@ -42,12 +42,12 @@ pub(super) fn player_for( } let targeting = m.ai.target == Some(Who::Player) || m.ai.last_hurt_by == Some(Who::Player) && m.age as i32 - m.ai.last_hurt_by_time <= 100; - // A tame wolf or cat sees its owner (`TamableAnimal.getOwner`), while they + // A tame wolf, cat or parrot sees its owner (`TamableAnimal.getOwner`), while they // are in play, whoever is nearer. Not while it targets or was just hurt by // a player: then `Who::Player` is that attacker, whoever it is, and the // owner goals ignore it until the wolf lets go. if !targeting - && matches!(m.species(), Species::Wolf | Species::Cat) + && matches!(m.species(), Species::Wolf | Species::Cat | Species::Parrot) && m.extra.tame && let Some(owner) = m.extra.owner {