Skip to content

Commit b71ba76

Browse files
committed
fix new GetFromNamespacedId method not handling prefix IDs correctly
1 parent 14ef5a2 commit b71ba76

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/release-notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
## Upcoming release
55
* For players:
66
* Improved performance when mods edit maps (thanks to SinZ!).
7+
* For mod authors:
8+
* Fixed new `helper.ModRegistry.GetFromNamespacedId` not handling prefix IDs correctly.
79

810
## 4.3.0
911
Released 12 July 2025 for Stardew Valley 1.6.14 or later. See [release highlights](https://www.patreon.com/posts/133992196).

src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public IEnumerable<IModInfo> GetAll()
8585
}
8686
}
8787

88-
return null;
88+
return mod;
8989
}
9090

9191
/// <inheritdoc />

0 commit comments

Comments
 (0)