[FIX] Вернул проверки для unmarkOptional

This commit is contained in:
Gravit 2019-03-03 16:35:43 +07:00
parent c25e5a77aa
commit 73fc66da0f

View file

@ -266,14 +266,13 @@ public void unmarkOptional(OptionalFile file) {
if (file.dependencies != null) { if (file.dependencies != null) {
for (OptionalFile f : file.dependencies) { for (OptionalFile f : file.dependencies) {
if (!f.mark) continue; if (!f.mark) continue;
unmarkOptional(f); if (f.dependenciesCount == null) {
/*if (f.dependenciesCount == null) {
unmarkOptional(f); unmarkOptional(f);
} else if (f.dependenciesCount.size() <= 1) { } else if (f.dependenciesCount.size() <= 1) {
f.dependenciesCount.clear(); f.dependenciesCount.clear();
f.dependenciesCount = null; f.dependenciesCount = null;
unmarkOptional(f); unmarkOptional(f);
}*/ }
} }
} }
} }