Merge branch 'develop' into harmony2

This commit is contained in:
ZaneYork 2020-06-03 11:46:27 +08:00
commit 03b711a465
1 changed files with 0 additions and 1 deletions

View File

@ -119,7 +119,6 @@ namespace StardewModdingAPI.Framework.ModLoading.Framework
return new Tuple<bool, Exception>(false, e.InnerException ?? e);
}
})
.TakeWhile(tuple => tuple.Item2 == null) // Stop on any exception occurs
.Aggregate((tupleA, tupleB) => new Tuple<bool, Exception>(tupleA.Item1 | tupleB.Item1, tupleA.Item2 ?? tupleB.Item2)); // Aggregate result and exception
if (aggregateResult.Item2 != null)
{