mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Fix "wrong version of BepInEx" warning caused by dll split in v6
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user