Explorar o código

Revert formatting change

js6pak %!s(int64=4) %!d(string=hai) anos
pai
achega
f6f8a44254
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))