Leave wandering traders out of the spawn egg baby check

This commit is contained in:
Kacpherek
2026-10-26 16:28:28 +01:00
parent e71d4281ac
commit f364c4f9c6
@@ -2969,6 +2969,9 @@ impl Game<'_> {
if !parent.alive()
|| stack.item.strip_suffix("_spawn_egg") != Some(parent.kind.id.as_str())
|| !horizon_client::mobs::drops::can_be_baby(parent.species())
// WanderingTrader.getBreedOffspring returns null: no offspring, the
// click carries on to trading.
|| parent.species() == Species::WanderingTrader
{
return false;
}