Update referenced GUID name

This commit is contained in:
Bepis committed 2018-04-01 02:22:23 +10:00
1 parent 09eaca0144
commit 0ffb718dfe
1 file changed
+1 -1
+1 -1
View File
@@ -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.");