If you have a nut allergy, don't eat nuts - or am I oversimplifying?
Very much so. All depends on the severity of the allergy. When you have a plane load of people eating peanuts there could be the possibility of cross contamination by means of the cabin crew or passengers in close proximity. Hence if it is a serious allergy, best to play safe.