mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-08-28 05:45:03 -06:00
Whoops, forgot to commit some changes
This commit is contained in:
parent
be587ec40b
commit
fced17c8b6
1 changed files with 3 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ import net.kdt.pojavlaunch.Tools;
|
|||
import net.kdt.pojavlaunch.extra.ExtraConstants;
|
||||
import net.kdt.pojavlaunch.extra.ExtraCore;
|
||||
import net.kdt.pojavlaunch.prefs.LauncherPreferences;
|
||||
import net.kdt.pojavlaunch.progresskeeper.ProgressKeeper;
|
||||
import net.kdt.pojavlaunch.services.ProgressService;
|
||||
import net.kdt.pojavlaunch.utils.DownloadUtils;
|
||||
import net.kdt.pojavlaunch.value.DependentLibrary;
|
||||
|
|
@ -84,6 +85,7 @@ public class AsyncMinecraftDownloader {
|
|||
|
||||
// THIS one function need the activity in the case of an error
|
||||
if(!JRE17Util.installNewJreIfNeeded(activity, verInfo)){
|
||||
ProgressKeeper.submitProgress(ProgressLayout.DOWNLOAD_MINECRAFT, -1, -1);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -195,7 +197,7 @@ public class AsyncMinecraftDownloader {
|
|||
} catch (Exception e) {
|
||||
Log.e("AsyncMcDownloader", e.toString(), e);
|
||||
}
|
||||
|
||||
ProgressKeeper.submitProgress(ProgressLayout.DOWNLOAD_MINECRAFT, -1, -1);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue