An Air India and a Nepal Airlines aircraft averted a major collision when they came too close mid-air but the warning systems alerted the pilots and timely action by them prevented the disaster, the Civil Aviation Authority of Nepal (CAAN) said in Kathmandu on Sunday.