Selaa lähdekoodia

Update referenced GUID name

Bepis 7 vuotta sitten
vanhempi
commit
0ffb718dfe
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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.");