Skip to content

Commit 8df1ab7

Browse files
committed
Merge branch 'develop' into stable
2 parents 8ba54a6 + 7d5f95a commit 8df1ab7

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ For mod developers:
2626
For power users:
2727
* Added command-line arguments to the SMAPI installer so it can be scripted.
2828

29+
## 1.15.3
30+
For players:
31+
* Fixed mods being marked as duplicate incorrectly in some cases.
32+
2933
## 1.15.2
3034
For players:
3135
* Improved errors when a mod DLL can't be loaded.

src/GlobalAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
using System.Runtime.InteropServices;
33

44
[assembly: ComVisible(false)]
5-
[assembly: AssemblyVersion("1.15.2.0")]
6-
[assembly: AssemblyFileVersion("1.15.2.0")]
5+
[assembly: AssemblyVersion("1.15.3.0")]
6+
[assembly: AssemblyFileVersion("1.15.3.0")]

src/StardewModdingAPI/Constants.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.IO;
44
using System.Linq;
@@ -36,7 +36,7 @@ public static class Constants
3636
/// <summary>SMAPI's current semantic version.</summary>
3737
public static ISemanticVersion ApiVersion { get; } =
3838
#if SMAPI_1_x
39-
new SemanticVersion(1, 15, 2);
39+
new SemanticVersion(1, 15, 3);
4040
#else
4141
new SemanticVersion(2, 0, 0, $"alpha-{DateTime.UtcNow:yyyyMMddHHmm}");
4242
#endif

src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public Assembly Load(string assemblyPath, bool assumeCompatible)
7676
: $"Could not load '{assemblyPath}'."
7777
);
7878
}
79-
if (assemblies[0].Status == AssemblyLoadStatus.AlreadyLoaded)
79+
if (assemblies.Last().Status == AssemblyLoadStatus.AlreadyLoaded) // mod assembly is last in dependency order
8080
throw new SAssemblyLoadFailedException($"Could not load '{assemblyPath}' because it was already loaded. Do you have two copies of this mod?");
8181

8282
// rewrite & load assemblies in leaf-to-root order

0 commit comments

Comments
 (0)