Преглед изворни кода

Update referenced GUID name

Bepis пре 7 година
родитељ
комит
0ffb718dfe
1 измењених фајлова са 1 додато и 1 уклоњено
  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.");