The Air NZ plane had to make an emergency landing at Tauranga Airport.