diff options
| author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-07-06 09:56:33 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-06 09:56:33 +1000 |
| commit | 380cb0ccf3c582f5700a54f65db74c3bb69e7d6a (patch) | |
| tree | 52eae0f672cf04773c141f66e55313e9ba7fc605 /src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java | |
| parent | 3aa6d8ce069902f81a341ccb5d33fc76f7274935 (diff) | |
| download | notenoughupdates-380cb0ccf3c582f5700a54f65db74c3bb69e7d6a.tar.gz notenoughupdates-380cb0ccf3c582f5700a54f65db74c3bb69e7d6a.tar.bz2 notenoughupdates-380cb0ccf3c582f5700a54f65db74c3bb69e7d6a.zip | |
Add some rift stuff to PV (#749)
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) { |
