From 380cb0ccf3c582f5700a54f65db74c3bb69e7d6a Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Thu, 6 Jul 2023 09:56:33 +1000 Subject: Add some rift stuff to PV (#749) --- .../moulberry/notenoughupdates/profileviewer/BasicPage.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java index d5c0afba..331d2ad3 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java @@ -587,7 +587,7 @@ public class BasicPage extends GuiProfileViewerPage { // sb lvl int sbLevelX = guiLeft + 162; - int sbLevelY = guiTop + 90; + int sbLevelY = guiTop + 74; double skyblockLevel = profile.getProfile(profileName).getSkyblockLevel(); EnumChatFormatting skyblockLevelColour = profile.getProfile(profileName).getSkyblockLevelColour(); @@ -609,7 +609,7 @@ public class BasicPage extends GuiProfileViewerPage { ); if (mouseX >= guiLeft + 128 && mouseX <= guiLeft + 216) { - if (mouseY >= guiTop + 69 && mouseY <= guiTop + 131) { + if (mouseY >= guiTop + 49 && mouseY <= guiTop + 113) { if (Mouse.isButtonDown(0)) onSecondPage = true; } } @@ -633,6 +633,12 @@ public class BasicPage extends GuiProfileViewerPage { int x = guiLeft + 237 + 86 * xPosition; int y = guiTop + 24 + 21 * yPosition; + if (entry.getKey().equals("social")) { + position--; + x = guiLeft + 132; + y = guiTop + 124; + } + Utils.renderAlignedString(skillName, EnumChatFormatting.WHITE.toString() + levelFloored, x + 14, y - 4, 60); if (level.maxed) { -- cgit