summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading
diff options
context:
space:
mode:
authoratravita-mods <94934860+atravita-mods@users.noreply.github.com>2023-03-23 22:04:21 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2023-04-02 15:37:37 -0400
commit58ccaf9a1e3a9e374f07f23b5c3043dd3c0566ba (patch)
treea27da1d14bd98c5f6c5e95fc80bdef341844e63a /src/SMAPI/Framework/ModLoading
parent7b5566d0751bec14c5bf93b727fa66e7c58fbf00 (diff)
downloadSMAPI-58ccaf9a1e3a9e374f07f23b5c3043dd3c0566ba.tar.gz
SMAPI-58ccaf9a1e3a9e374f07f23b5c3043dd3c0566ba.tar.bz2
SMAPI-58ccaf9a1e3a9e374f07f23b5c3043dd3c0566ba.zip
avoid resolving empty folders.
Diffstat (limited to 'src/SMAPI/Framework/ModLoading')
-rw-r--r--src/SMAPI/Framework/ModLoading/ModResolver.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ModLoading/ModResolver.cs b/src/SMAPI/Framework/ModLoading/ModResolver.cs
index cb62e16f..40d8b3bc 100644
--- a/src/SMAPI/Framework/ModLoading/ModResolver.cs
+++ b/src/SMAPI/Framework/ModLoading/ModResolver.cs
@@ -178,6 +178,7 @@ namespace StardewModdingAPI.Framework.ModLoading
string[] lateArray = modIdsToLoadLate.ToArray();
return mods
+ .Where(mod => mod.FailReason is not null)
.OrderBy(mod =>
{
string id = mod.Manifest.UniqueID;