[Account manager] Still trying to fix wrong account path

This commit is contained in:
khanhduytran0 2020-12-24 14:55:43 +07:00
parent fcdeab1935
commit 9f7f2fb62d
4 changed files with 7 additions and 18 deletions

View file

@ -283,8 +283,6 @@ public class PojavLoginActivity extends BaseActivity
// Clear current profile
PojavProfile.setCurrentProfile(this, null);
}
private boolean isJavaRuntimeInstalled(AssetManager am) {
@ -825,10 +823,9 @@ public class PojavLoginActivity extends BaseActivity
try {
String profileName = null;
if (sRemember.isChecked() || notOnLogin) {
profileName = new File(mProfile.save()).getName();
profileName = mProfile.save();
}
profileName = profileName.substring(0, profileName.length() - 5);
MCProfile.launch(PojavLoginActivity.this, profileName == null ? mProfile : profileName);
} catch (IOException e) {
Tools.showError(this, e);