Update BaseMainActivity.java

This commit is contained in:
Duy Tran Khanh 2021-07-04 11:19:42 +07:00 committed by GitHub
parent 0284f1654f
commit a45bf16601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1230,7 +1230,7 @@ public class BaseMainActivity extends LoggableActivity {
public void getMcScale() {
//Get the scale stored in game files, used auto scale if found or if the stored scaled is bigger than the authorized size.
MCOptionUtils.load();
Thread.sleep(200);
try { Thread.sleep(200); } catch (Throwable th) {}
String str = MCOptionUtils.get("guiScale");
this.guiScale = (str == null ? 0 :Integer.parseInt(str));