diff --git a/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java b/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java index 8de9245a..cf1f2b82 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java @@ -266,13 +266,14 @@ public void unmarkOptional(OptionalFile file) { if (file.dependencies != null) { for (OptionalFile f : file.dependencies) { if (!f.mark) continue; - if (f.dependenciesCount == null) { + unmarkOptional(f); + /*if (f.dependenciesCount == null) { unmarkOptional(f); } else if (f.dependenciesCount.size() <= 1) { f.dependenciesCount.clear(); f.dependenciesCount = null; unmarkOptional(f); - } + }*/ } } }