diff --git a/LauncherCore/src/main/java/pro/gravit/launcher/AsyncDownloader.java b/LauncherCore/src/main/java/pro/gravit/launcher/AsyncDownloader.java index 663c34a4..34a93ffe 100644 --- a/LauncherCore/src/main/java/pro/gravit/launcher/AsyncDownloader.java +++ b/LauncherCore/src/main/java/pro/gravit/launcher/AsyncDownloader.java @@ -116,6 +116,9 @@ public List> sortFiles(List files, int threads) { result.get(minIndex).add(file); sizes[minIndex] += file.size; } + for(List l : result) { + Collections.shuffle(l); + } return result; }