Parcourir la source

Update referenced GUID name

Bepis il y a 7 ans
Parent
commit
0ffb718dfe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.");