aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuna <luna@alexia.lol>2024-08-12 13:15:18 +0200
committerGitHub <noreply@github.com>2024-08-12 21:15:18 +1000
commit033f448a8f1faaee8da7c8b62219746e66efe9c1 (patch)
tree6629b5c3c34cc5a821a5fbc6f5ca920904f5f796
parent5850777d33722a95ca49cf057f7308ca565d4c21 (diff)
downloadnotenoughupdates-033f448a8f1faaee8da7c8b62219746e66efe9c1.tar.gz
notenoughupdates-033f448a8f1faaee8da7c8b62219746e66efe9c1.tar.bz2
notenoughupdates-033f448a8f1faaee8da7c8b62219746e66efe9c1.zip
Fix HOTM showing overflow level (#1308)
Co-authored-by: nopo <nopotheemail@gmail.com>
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
index 2fbe948b..b26d8a77 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
@@ -1012,7 +1012,7 @@ public class GuiProfileViewer extends GuiScreen {
}
// Adds overflow level to each level object that is maxed, avoids hotm level as there is no overflow xp for it
if (levelObj.maxed) {
- levelStr = levelObj.maxLevel != 7 ?
+ levelStr = !skillName.contains("HOTM") ?
EnumChatFormatting.GOLD + "MAXED!" + EnumChatFormatting.GRAY + " (Overflow level: " + String.format(
"%.2f",
levelObj.level