diff --git a/ProjBobcat/ProjBobcat/DefaultComponent/Launch/DefaultVersionLocator.cs b/ProjBobcat/ProjBobcat/DefaultComponent/Launch/DefaultVersionLocator.cs index 2aac87b..f0777f0 100644 --- a/ProjBobcat/ProjBobcat/DefaultComponent/Launch/DefaultVersionLocator.cs +++ b/ProjBobcat/ProjBobcat/DefaultComponent/Launch/DefaultVersionLocator.cs @@ -422,8 +422,10 @@ public override (List, List) GetNatives(Library[] libr if (flag) { - var rootLibs = GetNatives(inherits[i]!.Libraries); - + var inheritsLibs = inherits[i]!.Libraries.ToList(); + inheritsLibs = NativeReplaceHelper.Replace([rawVersion, ..inherits ?? []], inheritsLibs, NativeReplacementPolicy); + + var rootLibs = GetNatives([.. inheritsLibs]); result.Libraries = rootLibs.Item2; result.Natives = rootLibs.Item1; @@ -607,4 +609,4 @@ void ProcessProfile(VersionInfo result, string id) LauncherProfileParser.LauncherProfile.Profiles!.Add(gameId, gameProfile); LauncherProfileParser.SaveProfile(); } -} \ No newline at end of file +}