mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 07:05:40 -04:00
Stills fixing c_* download error
This commit is contained in:
parent
ccf8ba1141
commit
42b017f165
@ -123,7 +123,8 @@ public class MinecraftDownloaderTask extends AsyncTask<String, String, Throwable
|
||||
zeroProgress();
|
||||
publishProgress("1", mActivity.getString(R.string.mcl_launch_downloading, p1[0] + ".jar"));
|
||||
File minecraftMainFile = new File(minecraftMainJar);
|
||||
if (!minecraftMainFile.exists() || minecraftMainFile.length() == 0l) {
|
||||
if ((!minecraftMainFile.exists() || minecraftMainFile.length() == 0l) &&
|
||||
verInfo.downloads != null) {
|
||||
try {
|
||||
Tools.downloadFileMonitored(
|
||||
verInfo.downloads.values().toArray(new MinecraftClientInfo[0])[0].url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user