diff options
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java | 10 |
1 files changed, 0 insertions, 10 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 a1a91a5d..5337a99c 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewer.java @@ -1075,7 +1075,6 @@ public class ProfileViewer { skyblockProfiles = jsonObject.get("profiles").getAsJsonArray(); String lastCuteName = null; - long lastLastSave = 0; profileNames.clear(); @@ -1098,15 +1097,6 @@ public class ProfileViewer { profileNames.add(cuteName); if (profile.has("selected") && profile.get("selected").getAsBoolean()) { lastCuteName = cuteName; - break; - } - if (lastCuteName == null) lastCuteName = cuteName; - if (member.has("last_save")) { - long lastSave = member.get("last_save").getAsLong(); - if (lastSave > lastLastSave) { - lastLastSave = lastSave; - lastCuteName = cuteName; - } } } } |