diff options
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java | 10 |
1 files changed, 8 insertions, 2 deletions
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) { |
