Title says it all. I poked around in the code and adding this to updateAirbornPlane fixes it, albeit in a quick and dirty way
if settings.global["aircraft-realism-airborne-damage-immunity"].value then
if plane.valid then plane.health = 100000 end -- dirty solution, causes flickering health bar, but it works
end