Explorar o código

Update referenced GUID name

Bepis %!s(int64=7) %!d(string=hai) anos
pai
achega
0ffb718dfe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      BepInEx/TypeLoader.cs

+ 1 - 1
BepInEx/TypeLoader.cs

@@ -69,7 +69,7 @@ namespace BepInEx
 
             foreach (BepInDependency dependency in attributes)
             {
-                Type dependencyType = AllPlugins.FirstOrDefault(x => GetMetadata(x)?.GUID == dependency.refGUID);
+                Type dependencyType = AllPlugins.FirstOrDefault(x => GetMetadata(x)?.GUID == dependency.DependencyGUID);
 
                 if (dependencyType == null)
                     throw new MissingDependencyException("Cannot find dependency type.");