Skip to content

Commit

Permalink
Fix #286 (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZekerZhayard authored Dec 21, 2023
1 parent 7fd5ff8 commit 4185e5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static UserProfile loadProfile(GameProfile gameProfile) {
profileCache.setLoading(credential, true);
profile = loadProfile0(gameProfile, false);
}
return profile;
return profile == null ? new UserProfile() : profile;
}

//Core
Expand Down

0 comments on commit 4185e5b

Please sign in to comment.