diff --git a/LoadOrderMod/Patches/ContentManager/IsDLCOwnedPatch.cs b/LoadOrderMod/Patches/ContentManager/IsDLCOwnedPatch.cs index 0897a14..74bb745 100644 --- a/LoadOrderMod/Patches/ContentManager/IsDLCOwnedPatch.cs +++ b/LoadOrderMod/Patches/ContentManager/IsDLCOwnedPatch.cs @@ -31,7 +31,11 @@ public static class IsDLCOwnedPatch { var footballDLCs = DLCsStartingWith("Football"); dlcs.AddRange(footballDLCs); } else { - dlcs.Add((SteamHelper.DLC)Enum.Parse(typeof(SteamHelper.DLC), item)); + try { + dlcs.Add((SteamHelper.DLC)Enum.Parse(typeof(SteamHelper.DLC), item)); + } catch (Exception ex) { + Log.Warning($"could not find DLC {item}.\n" + ex); + } } } ExcludedDLCs = dlcs.ToArray();