Skip to content

Commit

Permalink
fix: Profile Viewer showing a blank page instead of loading (NotEnoug…
Browse files Browse the repository at this point in the history
…hUpdates#1007)

Co-authored-by: Linnea Gräf <[email protected]>
  • Loading branch information
jani270 and nea89o authored Jan 23, 2024
1 parent b4592db commit 9c43119
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public void drawScreen(int mouseX, int mouseY, float partialTicks) {
if (startTime == 0) startTime = currentTime;

ProfileViewerPage page = currentPage;
if (page == ProfileViewerPage.CRASH_RECOVERY) {
if (page != ProfileViewerPage.CRASH_RECOVERY) {
if (profile == null) {
page = ProfileViewerPage.INVALID_NAME;
} else if (profile.getOrLoadSkyblockProfiles(null) == null) {
Expand Down

0 comments on commit 9c43119

Please sign in to comment.