Replaced checking if the mob is tamed with checking if the owner is null.