diff --git a/Natives/MinecraftResourceDownloadTask.m b/Natives/MinecraftResourceDownloadTask.m index 58f21a3f75..a4c3258e85 100644 --- a/Natives/MinecraftResourceDownloadTask.m +++ b/Natives/MinecraftResourceDownloadTask.m @@ -77,6 +77,7 @@ - (void)addDownloadTaskToProgress:(NSURLSessionDownloadTask *)task size:(NSUInte NSProgress *progress = [self.manager downloadProgressForTask:task]; NSUInteger fileSize = size ?: 1; progress.kind = NSProgressKindFile; + progress.totalUnitCount = fileSize; [self.progressList addObject:progress]; [self.progress addChild:progress withPendingUnitCount:fileSize]; self.progress.totalUnitCount += fileSize;