瀏覽代碼

Revert formatting change

js6pak 4 年之前
父節點
當前提交
f6f8a44254
共有 1 個文件被更改,包括 1 次插入1 次删除
  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))