Bladeren bron

Revert formatting change

js6pak 4 jaren geleden
bovenliggende
commit
f6f8a44254
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      BepInEx.Core/Bootstrap/BaseChainloader.cs

+ 1 - 1
BepInEx.Core/Bootstrap/BaseChainloader.cs

@@ -174,7 +174,7 @@ namespace BepInEx.Bootstrap
 
 						// If the dependency wasn't already processed, it's missing altogether
 						bool dependencyExists = processedPlugins.TryGetValue(dependency.DependencyGUID, out var pluginVersion);
-						if (!dependencyExists || (dependency.MinimumVersion != null && dependency.MinimumVersion > pluginVersion))
+						if (!dependencyExists || (dependency.MinimumVersion != null && pluginVersion < dependency.MinimumVersion))
 						{
 							// If the dependency is hard, collect it into a list to show
 							if (IsHardDependency(dependency))