From b489caa46142c84794509e86d78903cf01785227 Mon Sep 17 00:00:00 2001 From: Justin Swanson Date: Tue, 7 Jan 2025 16:33:58 -0600 Subject: [PATCH] Removed artificial exception if EPFB was missing on Perks --- Mutagen.Bethesda.Fallout4/Records/Major Records/Perk.cs | 4 ---- Mutagen.Bethesda.Starfield/Records/Major Records/PerkRank.cs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/Mutagen.Bethesda.Fallout4/Records/Major Records/Perk.cs b/Mutagen.Bethesda.Fallout4/Records/Major Records/Perk.cs index f707e93f4..55dfc8d4e 100644 --- a/Mutagen.Bethesda.Fallout4/Records/Major Records/Perk.cs +++ b/Mutagen.Bethesda.Fallout4/Records/Major Records/Perk.cs @@ -315,10 +315,6 @@ public static APerkEffect ParseEffect(TStream stream, SubrecordFrame pr { entryPointEffect.PerkEntryID = epfb.Value.AsUInt16(); } - else if (epft.HasValue) - { - throw new MalformedDataException($"Did not have expected EPFB record to go with the EPFT record"); - } effect = entryPointEffect; break; default: diff --git a/Mutagen.Bethesda.Starfield/Records/Major Records/PerkRank.cs b/Mutagen.Bethesda.Starfield/Records/Major Records/PerkRank.cs index 189bb8f33..f0d71bf66 100644 --- a/Mutagen.Bethesda.Starfield/Records/Major Records/PerkRank.cs +++ b/Mutagen.Bethesda.Starfield/Records/Major Records/PerkRank.cs @@ -310,10 +310,6 @@ public static IEnumerable ParseEffects(IMutagenReadStream stream) { entryPointEffect.PerkEntryID = epfb.Value.AsUInt16(); } - else if (epft.HasValue) - { - throw new MalformedDataException($"Did not have expected EPFB record to go with the EPFT record"); - } effect = entryPointEffect; break; default: