mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Validate assets even if it’s fully downloaded (#2730)
This commit is contained in:
parent
fb0a96a33f
commit
7c3d1712e9
@ -427,8 +427,8 @@ public class MinecraftDownloaderTask extends AsyncTask<String, String, Throwable
|
||||
LinkedBlockingQueue<Runnable> workQueue = new LinkedBlockingQueue<>();
|
||||
final ThreadPoolExecutor executor = new ThreadPoolExecutor(10, 10, 500, TimeUnit.MILLISECONDS, workQueue);
|
||||
mActivity.mIsAssetsProcessing = true;
|
||||
File hasDownloadedFile = new File(outputDir, "downloaded/" + assetsVersion + ".downloaded");
|
||||
if (!hasDownloadedFile.exists()) {
|
||||
//File hasDownloadedFile = new File(outputDir, "downloaded/" + assetsVersion + ".downloaded");
|
||||
if (true) { //(!hasDownloadedFile.exists()) {
|
||||
System.out.println("Assets begin time: " + System.currentTimeMillis());
|
||||
Map<String, JAssetInfo> assetsObjects = assets.objects;
|
||||
int assetsSizeBytes=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user