We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7670c5c commit 8b6fef1Copy full SHA for 8b6fef1
1 file changed
app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/PojavProfile.java
@@ -40,7 +40,9 @@ public static String getCurrentProfileName(Context ctx) {
40
public static List<MinecraftAccount> getAllProfiles(){
41
List<MinecraftAccount> mcAccountList = new ArrayList<>();;
42
for (String accountName : getAllProfilesList()){
43
- mcAccountList.add(MinecraftAccount.load(accountName));
+ if (MinecraftAccount.load(accountName) != null) {
44
+ mcAccountList.add(MinecraftAccount.load(accountName));
45
+ }
46
}
47
return mcAccountList;
48
0 commit comments