Skip to content

Commit

Permalink
Fix missing MonkeyLoader identifiable collection for Configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Banane9 committed Aug 24, 2024
1 parent 7e86f8c commit a431c05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion MonkeyLoader/MonkeyLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace MonkeyLoader
/// </summary>
public sealed class MonkeyLoader : IConfigOwner, IShutdown, IIdentifiableCollection<Mod>,
INestedIdentifiableCollection<IMonkey>, INestedIdentifiableCollection<IEarlyMonkey>,
INestedIdentifiableCollection<ConfigSection>, INestedIdentifiableCollection<IDefiningConfigKey>
INestedIdentifiableCollection<Config>, INestedIdentifiableCollection<ConfigSection>, INestedIdentifiableCollection<IDefiningConfigKey>
{
/// <summary>
/// All the currently loaded and still active mods of this loader, kept in topological order.
Expand Down Expand Up @@ -98,6 +98,9 @@ IEnumerable<IMonkey> INestedIdentifiableCollection<IMonkey>.Items

IEnumerable<Config> IIdentifiableOwner<Config>.Items => Config.Yield();

IEnumerable<Config> INestedIdentifiableCollection<Config>.Items
=> Config.Yield().Concat(_allMods.Select(mod => mod.Config));

/// <summary>
/// Gets the json serializer used by this loader and any mods it loads.<br/>
/// Will be populated with any converters picked up from game integration packs.
Expand Down
2 changes: 1 addition & 1 deletion MonkeyLoader/MonkeyLoader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>MonkeyLoader</Title>
<Authors>Banane9</Authors>
<Version>0.22.7-beta</Version>
<Version>0.22.8-beta</Version>
<Description>A convenience and extendability focused mod loader using NuGet packages.</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
Expand Down

0 comments on commit a431c05

Please sign in to comment.