This commit is contained in:
Duy Tran Khanh 2021-07-04 08:24:57 +07:00 committed by GitHub
parent 294c34d036
commit 3c8aef2838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1229,6 +1229,8 @@ 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);
String str = MCOptionUtils.get("guiScale");
this.guiScale = (str == null ? 0 :Integer.parseInt(str));