Merge branch 'addsomeui' of [email protected]:PojavLauncherTeam/PojavLauncher_iOS.git
This commit is contained in:
commit
4ddad1ac29
1 file changed
+5
-3
@@ -45,7 +45,7 @@ public class PLaunchApp {
|
||||
new Thread(() -> {
|
||||
|
||||
int currProgress = 0;
|
||||
float totalProgress = 0;
|
||||
float maxProgress = 0;
|
||||
|
||||
UIKit.updateProgressSafe(0, "Finding a version");
|
||||
String mcver = "1.16.5";
|
||||
@@ -58,7 +58,9 @@ public class PLaunchApp {
|
||||
|
||||
UIKit.updateProgressSafe(0, "Selected Minecraft version: " + mcver);
|
||||
|
||||
Thread.sleep(1000);
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {}
|
||||
|
||||
// dummy account
|
||||
MinecraftAccount acc = new MinecraftAccount();
|
||||
@@ -83,7 +85,7 @@ public class PLaunchApp {
|
||||
}
|
||||
|
||||
verInfo = Tools.getVersionInfo(mcver);
|
||||
totalProgress = verInfo.libraries.length + 1; // + verInfo.assetslength
|
||||
maxProgress = verInfo.libraries.length + 1; // + verInfo.assetslength
|
||||
|
||||
File outLib;
|
||||
String libPathURL;
|
||||
|
||||
Reference in new issue
Block a user