aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-09-29 15:04:17 +0200
committernea <romangraef@gmail.com>2022-09-29 15:04:17 +0200
commitcc32475e563a35a2e38f02c0d76800c9f7fb727d (patch)
tree6ec8763f19f4908b845834614530995566ec3887
parent1df7a2b5ebadc749c27ceee46bc33dcb47222e18 (diff)
downloadNotEnoughUpdates-fix/letsencryptssl.tar.gz
NotEnoughUpdates-fix/letsencryptssl.tar.bz2
NotEnoughUpdates-fix/letsencryptssl.zip
Make old profiles show againfix/letsencryptssl
-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 983cbf4e..4aeafb9e 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java
@@ -887,12 +887,12 @@ public class ProfileViewer {
}
String cuteName = profile.get("cute_name").getAsString();
+ profileNames.add(cuteName);
if (profile.has("selected") && profile.get("selected").getAsBoolean()) {
lastCuteName = cuteName;
break;
}
if (lastCuteName == null) lastCuteName = cuteName;
- profileNames.add(cuteName);
if (member.has("last_save")) {
long lastSave = member.get("last_save").getAsLong();
if (lastSave > lastLastSave) {