[Account loader] Stills fixing Npe ^2

This commit is contained in:
Duy Tran Khanh
2020-12-25 16:03:00 +07:00
parent 9a123571b5
commit cc09338d51

View File

@@ -23,7 +23,7 @@ public class PojavProfile
public static MinecraftAccount getCurrentProfileContent(Context ctx) throws IOException, JsonSyntaxException {
MinecraftAccount build = MinecraftAccount.load(getCurrentProfileName(ctx));
if (build == null) {
getTempProfileContent(ctx);
return getTempProfileContent(ctx);
}
return build;
}