diff options
author | jani270 <69345714+jani270@users.noreply.github.com> | 2022-10-04 04:42:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 13:42:07 +1100 |
commit | 7a31307956fa5ce3409de73764851ff22ee7ea19 (patch) | |
tree | 01ecbfc0d4227e539f88b66bb0f7c4d15f60ad36 /src/main/java | |
parent | 958525f42be1868c448246d4ffd15da77c0b0887 (diff) | |
download | NotEnoughUpdates-7a31307956fa5ce3409de73764851ff22ee7ea19.tar.gz NotEnoughUpdates-7a31307956fa5ce3409de73764851ff22ee7ea19.tar.bz2 NotEnoughUpdates-7a31307956fa5ce3409de73764851ff22ee7ea19.zip |
Removed last_save (#331)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java index 63a4df2c..3b30b9b7 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ExtraPage.java @@ -92,25 +92,13 @@ public class ExtraPage extends GuiProfileViewerPage { ); { - String lastSaveText = getTimeSinceString(profileInfo, "last_save"); - if (lastSaveText != null) { - Utils.renderAlignedString( - EnumChatFormatting.AQUA + "Last Seen", - EnumChatFormatting.WHITE + lastSaveText, - guiLeft + xStart, - guiTop + yStartTop + yOffset * 2, - 76 - ); - } - } - { String first_join = getTimeSinceString(profileInfo, "first_join"); if (first_join != null) { Utils.renderAlignedString( EnumChatFormatting.AQUA + "Joined", EnumChatFormatting.WHITE + first_join, guiLeft + xStart, - guiTop + yStartTop + yOffset * 3, + guiTop + yStartTop + yOffset * 2, 76 ); } @@ -123,7 +111,7 @@ public class ExtraPage extends GuiProfileViewerPage { EnumChatFormatting.AQUA + "Guild", EnumChatFormatting.WHITE + guildInfo.get("name").getAsString(), guiLeft + xStart, - guiTop + yStartTop + yOffset * 4, + guiTop + yStartTop + yOffset * 3, 76 ); } @@ -133,7 +121,7 @@ public class ExtraPage extends GuiProfileViewerPage { EnumChatFormatting.GREEN + "Pronouns", EnumChatFormatting.WHITE + String.join(" / ", choice.render()), guiLeft + xStart, - guiTop + yStartTop + yOffset * (shouldRenderGuild ? 5 : 4), + guiTop + yStartTop + yOffset * (shouldRenderGuild ? 4 : 3), 76 )); } |