diff options
| author | Luna <luna@alexia.lol> | 2024-08-12 13:15:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-12 21:15:18 +1000 |
| commit | 033f448a8f1faaee8da7c8b62219746e66efe9c1 (patch) | |
| tree | 6629b5c3c34cc5a821a5fbc6f5ca920904f5f796 | |
| parent | 5850777d33722a95ca49cf057f7308ca565d4c21 (diff) | |
| download | notenoughupdates-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.java | 2 |
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 |
