Skip to content

Commit

Permalink
Merge pull request #421 from Aragas/dev
Browse files Browse the repository at this point in the history
v5.8.4 #3
  • Loading branch information
Aragas authored Jul 15, 2023
2 parents 5721444 + a3c73ad commit e1be7c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MCM.Abstractions/Presets/JsonSettingsPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ private sealed class PresetContainer : PresetContainerDefinition
{
var container = JsonConvert.DeserializeObject<PresetContainerDefinition?>(content);
if (container is null) return null;

return container.Id;
}
catch (Exception)
{
return null;
}

return container.Id;
}

public static JsonSettingsPreset? FromFile(BaseSettings settings, GameFile file) => FromFile(settings.Id, file, settings.CreateNew);
Expand Down

0 comments on commit e1be7c7

Please sign in to comment.