public static ConfigNode[] getPropellants(bool isJet) { ConfigNode[] propellantlist; if (isJet) { propellantlist = GameDatabase.Instance.GetConfigNodes("ATMOSPHERIC_NTR_PROPELLANT"); } else { propellantlist = GameDatabase.Instance.GetConfigNodes("BASIC_NTR_PROPELLANT"); } if (propellantlist == null) { PluginHelper.showInstallationErrorMessage(); } return(propellantlist); }