mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Fix typos
This commit is contained in:
1 parent
44fc0efdac
commit
522d532d0c
1 file changed
+4
-4
@@ -321,9 +321,9 @@ namespace BepInEx.Bootstrap
|
||||
var missingDependencies = new List<BepInDependency>();
|
||||
foreach (var dependency in pluginInfo.Dependencies)
|
||||
{
|
||||
// If the depenency wasn't already processed, it's missing altogether
|
||||
bool depenencyExists = processedPlugins.TryGetValue(dependency.DependencyGUID, out var pluginVersion);
|
||||
if (!depenencyExists || pluginVersion < dependency.MinimumVersion)
|
||||
// If the dependency wasn't already processed, it's missing altogether
|
||||
bool dependencyExists = processedPlugins.TryGetValue(dependency.DependencyGUID, out var pluginVersion);
|
||||
if (!dependencyExists || pluginVersion < dependency.MinimumVersion)
|
||||
{
|
||||
// If the dependency is hard, collect it into a list to show
|
||||
if ((dependency.Flags & BepInDependency.DependencyFlags.HardDependency) != 0)
|
||||
@@ -331,7 +331,7 @@ namespace BepInEx.Bootstrap
|
||||
continue;
|
||||
}
|
||||
|
||||
// If the dependency is invalid (e.g. has missing depedencies), report that to the user
|
||||
// If the dependency is invalid (e.g. has missing dependencies), report that to the user
|
||||
if (invalidPlugins.Contains(dependency.DependencyGUID))
|
||||
{
|
||||
dependsOnInvalidPlugin = true;
|
||||
|
||||
Reference in new issue
Block a user