aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
diff options
context:
space:
mode:
authorefefury <69400149+efefury@users.noreply.github.com>2022-07-10 16:04:00 +0200
committerGitHub <noreply@github.com>2022-07-11 00:04:00 +1000
commit04d6f54c067a5cdab61186eb37f67fef11affa57 (patch)
tree7fac9ce78eab682d64d4d0b69787636895247ee1 /src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
parent6e40cd5d2426eee681b091acc6e0822d4d7c45b5 (diff)
downloadnotenoughupdates-04d6f54c067a5cdab61186eb37f67fef11affa57.tar.gz
notenoughupdates-04d6f54c067a5cdab61186eb37f67fef11affa57.tar.bz2
notenoughupdates-04d6f54c067a5cdab61186eb37f67fef11affa57.zip
ah profit cool gui display (#178)
Co-authored-by: Lulonaut <lulonaut@tutanota.de> Co-authored-by: nopo <noahogno@gmail.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
index d8e47fa3..7ed3a799 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
@@ -1418,6 +1418,7 @@ public class ProfileViewer {
PlayerStats.getStats(getSkillInfo(profileId), getInventoryInfo(profileId), getCollectionInfo(profileId),
getPetsInfo(profileId), profileInfo
);
+ if (stats == null) return null;
this.stats.put(profileId, stats);
return stats;
}