aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-01-23 20:17:23 +0100
committerGitHub <noreply@github.com>2024-01-23 20:17:23 +0100
commit9c4311934949a8e32b4bbcd4eada66159dc867d7 (patch)
tree1fd01ed6d21ee7d2ae858ade37fa8ef90991ec7f /src/main/java
parentb4592db62a047900dd814cc2e21ede6d7aa3d74c (diff)
downloadNotEnoughUpdates-9c4311934949a8e32b4bbcd4eada66159dc867d7.tar.gz
NotEnoughUpdates-9c4311934949a8e32b4bbcd4eada66159dc867d7.tar.bz2
NotEnoughUpdates-9c4311934949a8e32b4bbcd4eada66159dc867d7.zip
fix: Profile Viewer showing a blank page instead of loading (#1007)
Co-authored-by: Linnea Gräf <nea@nea.moe>
Diffstat (limited to 'src/main/java')
-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) {