summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md5
-rw-r--r--src/SMAPI/Framework/ModLoading/ModResolver.cs1
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index a3e1abbd..3406e735 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -15,7 +15,10 @@
* Added support for beta releases on the home page.
-->
-## vNext
+## 2.5.5
+* For players:
+ * Fixed mods not being loaded if an optional dependency is installed but skipped.
+
* For the [log parser][]:
* Tweaked UI.
diff --git a/src/SMAPI/Framework/ModLoading/ModResolver.cs b/src/SMAPI/Framework/ModLoading/ModResolver.cs
index f878a1b9..a9896278 100644
--- a/src/SMAPI/Framework/ModLoading/ModResolver.cs
+++ b/src/SMAPI/Framework/ModLoading/ModResolver.cs
@@ -352,6 +352,7 @@ namespace StardewModdingAPI.Framework.ModLoading
{
// sorted successfully
case ModDependencyStatus.Sorted:
+ case ModDependencyStatus.Failed when !dependency.IsRequired: // ignore failed optional dependency
break;
// failed, which means this mod can't be loaded either