Update MinecraftDownloaderTask.java

This commit is contained in:
Duy Tran Khanh 2022-02-15 17:32:28 +07:00 committed by GitHub
parent 7c3d1712e9
commit 4e3fdf7f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -476,8 +476,8 @@ public class MinecraftDownloaderTask extends AsyncTask<String, String, Throwable
}
if(mActivity.mIsAssetsProcessing) {
System.out.println("Unskipped download done!");
if(!hasDownloadedFile.getParentFile().exists())hasDownloadedFile.getParentFile().mkdirs();
hasDownloadedFile.createNewFile();
//if(!hasDownloadedFile.getParentFile().exists())hasDownloadedFile.getParentFile().mkdirs();
//hasDownloadedFile.createNewFile();
}else{
System.out.println("Skipped!");
}