Skip to content

Commit

Permalink
Removed artificial exception if EPFB was missing on Perks
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Jan 7, 2025
1 parent 6ed8a12 commit b489caa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Mutagen.Bethesda.Fallout4/Records/Major Records/Perk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ public static APerkEffect ParseEffect<TStream>(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:
Expand Down
4 changes: 0 additions & 4 deletions Mutagen.Bethesda.Starfield/Records/Major Records/PerkRank.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,6 @@ public static IEnumerable<APerkEffect> 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:
Expand Down

0 comments on commit b489caa

Please sign in to comment.