From 7a31307956fa5ce3409de73764851ff22ee7ea19 Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Tue, 4 Oct 2022 04:42:07 +0200 Subject: Removed last_save (#331) --- .../notenoughupdates/profileviewer/ExtraPage.java | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'src/main/java/io') 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 @@ -91,18 +91,6 @@ public class ExtraPage extends GuiProfileViewerPage { 76 ); - { - 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) { @@ -110,7 +98,7 @@ public class ExtraPage extends GuiProfileViewerPage { 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 )); } -- cgit