This check is what prevents pilots from being spawned above water, cliffs, etc. You probably don't want to remove it.