From cc32475e563a35a2e38f02c0d76800c9f7fb727d Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 29 Sep 2022 15:04:17 +0200 Subject: Make old profiles show again --- .../github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit