aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLulonaut <67191924+Lulonaut@users.noreply.github.com>2022-05-07 16:27:06 +0200
committerGitHub <noreply@github.com>2022-05-07 14:27:06 +0000
commit7e3b1ede9fac5964cba900f889594af5ba235393 (patch)
treee023dc769a3812cc9b534a86b60cb91841b6df01
parent1ca41f88d7729d9279df71cd186ff86f22e7d515 (diff)
downloadNotEnoughUpdates-7e3b1ede9fac5964cba900f889594af5ba235393.tar.gz
NotEnoughUpdates-7e3b1ede9fac5964cba900f889594af5ba235393.tar.bz2
NotEnoughUpdates-7e3b1ede9fac5964cba900f889594af5ba235393.zip
Rewrite ProfileViewer.java for more fps (#129)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java2
1 files changed, 1 insertions, 1 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 28cdf721..39c12e54 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
@@ -1365,7 +1365,7 @@ public class ProfileViewer {
}
public PlayerStats.Stats getStats(String profileId) {
- //if(stats.get(profileId) != null) return stats.get(profileId);
+ if(stats.get(profileId) != null) return stats.get(profileId);
JsonObject profileInfo = getProfileInformation(profileId);
if (profileInfo == null) {
return null;