Pārlūkot izejas kodu

Fix "wrong version of BepInEx" warning caused by dll split in v6

js6pak 4 gadi atpakaļ
vecāks
revīzija
423aa6fb64
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      BepInEx.Core/Bootstrap/BaseChainloader.cs

+ 1 - 1
BepInEx.Core/Bootstrap/BaseChainloader.cs

@@ -288,7 +288,7 @@ namespace BepInEx.Bootstrap
 			var dependencies = BepInDependency.FromCecilType(type);
 			var incompatibilities = BepInIncompatibility.FromCecilType(type);
 
-			var bepinVersion = type.Module.AssemblyReferences.FirstOrDefault(reference => reference.Name == "BepInEx")?.Version ?? new Version();
+			var bepinVersion = type.Module.AssemblyReferences.FirstOrDefault(reference => reference.Name == "BepInEx.Core")?.Version ?? new Version();
 
 			return new PluginInfo
 			{