mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 06:39:54 -04:00
fix[Tools/hasOnlineProfile]: Faulty logic fix
This commit is contained in:
parent
1e652fc3bc
commit
dae621043c
@ -1455,7 +1455,7 @@ public final class Tools {
|
|||||||
}
|
}
|
||||||
public static boolean hasOnlineProfile(){
|
public static boolean hasOnlineProfile(){
|
||||||
for (MinecraftAccount accountToCheck : getAllProfiles()) {
|
for (MinecraftAccount accountToCheck : getAllProfiles()) {
|
||||||
if (!accountToCheck.isLocal() || !accountToCheck.isDemo()) {
|
if (!accountToCheck.isLocal() && !accountToCheck.isDemo()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user