aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java12
-rw-r--r--src/main/resources/assets/notenoughupdates/pv_levels.pngbin3526 -> 3386 bytes
2 files changed, 6 insertions, 6 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 7be94f86..265177fc 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/BasicPage.java
@@ -596,6 +596,12 @@ public class BasicPage extends GuiProfileViewerPage {
sbLevelX - 30, sbLevelY + 20, true, 0, 0.9f
);
+ if (mouseX >= guiLeft + 128 && mouseX <= guiLeft + 216) {
+ if (mouseY >= guiTop + 69 && mouseY <= guiTop + 131) {
+ if (Mouse.isButtonDown(0)) onSecondPage = true;
+ }
+ }
+
if (skyblockInfo != null) {
int position = 0;
for (Map.Entry<String, ItemStack> entry : ProfileViewer.getSkillToSkillDisplayMap().entrySet()) {
@@ -623,12 +629,6 @@ public class BasicPage extends GuiProfileViewerPage {
getInstance().renderBar(x, y + 6, 80, level.level % 1);
}
- if (mouseX >= guiLeft + 128 && mouseX <= guiLeft + 216) {
- if (mouseY >= guiTop + 69 && mouseY <= guiTop + 131) {
- if (Mouse.isButtonDown(0)) onSecondPage = true;
- }
- }
-
if (mouseX > x && mouseX < x + 80) {
if (mouseY > y - 4 && mouseY < y + 13) {
getInstance().tooltipToDisplay = new ArrayList<>();
diff --git a/src/main/resources/assets/notenoughupdates/pv_levels.png b/src/main/resources/assets/notenoughupdates/pv_levels.png
index 21810476..0b6bb093 100644
--- a/src/main/resources/assets/notenoughupdates/pv_levels.png
+++ b/src/main/resources/assets/notenoughupdates/pv_levels.png
Binary files differ