diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index 46ab46c49..eceda4d03 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -1944,17 +1944,18 @@ public void LogContentIntegrityIssues() /// Create a directory path if it doesn't exist. /// The directory path. private void VerifyPath(string path) -{ - try - { - Directory.CreateDirectory(path); - } - catch (Exception ex) { - // note: this happens before this.Monitor is initialized - Console.WriteLine($"Couldn't create a path: {path}\n\n{ex.GetLogSummary()}"); + try + { + if (!Directory.Exists(path)) + Directory.CreateDirectory(path); + } + catch (Exception ex) + { + // note: this happens before this.Monitor is initialized + Console.WriteLine($"Couldn't create a path: {path}\n\n{ex.GetLogSummary()}"); + } } -} /// Load and hook up the given mods. /// The mods to load.