From 9c4311934949a8e32b4bbcd4eada66159dc867d7 Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Tue, 23 Jan 2024 20:17:23 +0100 Subject: fix: Profile Viewer showing a blank page instead of loading (#1007) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Linnea Gräf --- .../moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java index 6a734958..8b5badca 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java @@ -251,7 +251,7 @@ public class GuiProfileViewer extends GuiScreen { 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) { -- cgit