diff --git a/LauncherCore/src/main/java/pro/gravit/launcher/AsyncDownloader.java b/LauncherCore/src/main/java/pro/gravit/launcher/AsyncDownloader.java index 663c34a4..a34c8955 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 list : result) { + Collections.shuffle(list); + } return result; }