mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 06:39:54 -04:00
Attempt at fixing network
This commit is contained in:
parent
c0c2be6943
commit
665de1767d
@ -27,7 +27,7 @@ android {
|
|||||||
applicationId "net.kdt.pojavlaunch"
|
applicationId "net.kdt.pojavlaunch"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 156245
|
versionCode 156247
|
||||||
versionName "3.3.1.1_rel_" + getDate()
|
versionName "3.3.1.1_rel_" + getDate()
|
||||||
multiDexEnabled true //important
|
multiDexEnabled true //important
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ public class PojavProfile
|
|||||||
acc.clientToken = "0";
|
acc.clientToken = "0";
|
||||||
}
|
}
|
||||||
if (acc.profileId == null) {
|
if (acc.profileId == null) {
|
||||||
acc.profileId = "0";
|
acc.profileId = "00000000-0000-0000-0000-000000000000";
|
||||||
}
|
}
|
||||||
if (acc.username == null) {
|
if (acc.username == null) {
|
||||||
acc.username = "0";
|
acc.username = "0";
|
||||||
|
@ -12,7 +12,7 @@ public class MinecraftAccount
|
|||||||
{
|
{
|
||||||
public String accessToken = "0"; // access token
|
public String accessToken = "0"; // access token
|
||||||
public String clientToken = "0"; // clientID: refresh and invalidate
|
public String clientToken = "0"; // clientID: refresh and invalidate
|
||||||
public String profileId = "0"; // profile UUID, for obtaining skin
|
public String profileId = "00000000-0000-0000-0000-000000000000"; // profile UUID, for obtaining skin
|
||||||
public String username = "Steve";
|
public String username = "Steve";
|
||||||
public String selectedVersion = "1.7.10";
|
public String selectedVersion = "1.7.10";
|
||||||
public boolean isMicrosoft = false;
|
public boolean isMicrosoft = false;
|
||||||
@ -60,7 +60,7 @@ public class MinecraftAccount
|
|||||||
acc.clientToken = "0";
|
acc.clientToken = "0";
|
||||||
}
|
}
|
||||||
if (acc.profileId == null) {
|
if (acc.profileId == null) {
|
||||||
acc.profileId = "0";
|
acc.profileId = "00000000-0000-0000-0000-000000000000";
|
||||||
}
|
}
|
||||||
if (acc.username == null) {
|
if (acc.username == null) {
|
||||||
acc.username = "0";
|
acc.username = "0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user