diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-30 22:51:34 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-30 22:51:34 -0400 |
commit | 30e89b3a3373d3a73f62e7297ac27db8de70246b (patch) | |
tree | a29a18042822d1bea56f2b2a5b72a9150cc43781 | |
parent | c3555c74f558cae5041c882fba0377d9fa2894be (diff) | |
download | SMAPI-30e89b3a3373d3a73f62e7297ac27db8de70246b.tar.gz SMAPI-30e89b3a3373d3a73f62e7297ac27db8de70246b.tar.bz2 SMAPI-30e89b3a3373d3a73f62e7297ac27db8de70246b.zip |
fix mods not being loaded if an optional dependency is installed but skipped
-rw-r--r-- | docs/release-notes.md | 5 | ||||
-rw-r--r-- | src/SMAPI/Framework/ModLoading/ModResolver.cs | 1 |
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 |