Explorar o código

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

js6pak %!s(int64=4) %!d(string=hai) anos
pai
achega
423aa6fb64
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 			{