From 0d3fb7c681670fea87bea4ff12cfcda813433797 Mon Sep 17 00:00:00 2001 From: art0007i Date: Sat, 5 Oct 2024 23:08:15 +0200 Subject: [PATCH] wtf --- ResoniteModLoader/ModLoader.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ResoniteModLoader/ModLoader.cs b/ResoniteModLoader/ModLoader.cs index 179dc38..a35e1f9 100644 --- a/ResoniteModLoader/ModLoader.cs +++ b/ResoniteModLoader/ModLoader.cs @@ -40,10 +40,8 @@ public sealed class ModLoader { /// /// Allows reading metadata for all loaded mods /// - /// A new list containing each loaded mod - public static IEnumerable Mods() { - return LoadedMods.ToList(); - } + /// An enumerable containing each loaded mod + public static IEnumerable Mods() => LoadedMods; internal static void LoadMods() { ModLoaderConfiguration config = ModLoaderConfiguration.Get();