Skip to content

Commit

Permalink
Stills fixing c_* download error
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Jan 25, 2021
1 parent ccf8ba1 commit 42b017f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ public void updateProgress(int curr, int max) {
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,
Expand Down

0 comments on commit 42b017f

Please sign in to comment.