aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java2
1 files changed, 1 insertions, 1 deletions
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) {