Explorar el Código

Update referenced GUID name

Bepis hace 7 años
padre
commit
0ffb718dfe
Se han modificado 1 ficheros con 1 adiciones y 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.");