diff options
author | efefury <69400149+efefury@users.noreply.github.com> | 2022-01-22 15:08:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 15:08:36 +0100 |
commit | 5a047cea09c77869cd4533b81be69c394dbae42d (patch) | |
tree | 834feb20e204d3073c6ce7f114cc3ff19f408568 /src | |
parent | 0fb9202a79289200bc73b6c468d109c50eb1f5f5 (diff) | |
download | NotEnoughUpdates-5a047cea09c77869cd4533b81be69c394dbae42d.tar.gz NotEnoughUpdates-5a047cea09c77869cd4533b81be69c394dbae42d.tar.bz2 NotEnoughUpdates-5a047cea09c77869cd4533b81be69c394dbae42d.zip |
fixed bug (#68)
* fixed total xp being shown on hotm tab in pv
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 3 |
1 files changed, 2 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 fb96ab5d..7a1d9876 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java @@ -1373,7 +1373,8 @@ public class GuiProfileViewer extends GuiScreen { String totalXpStr = null; if (levelObj.maxed) { levelStr = EnumChatFormatting.GOLD + "MAXED!"; - totalXpStr = EnumChatFormatting.GRAY + "Total XP: " + EnumChatFormatting.DARK_PURPLE + Utils.formatNumberWithDots((long) levelObj.totalXp); + if(skillName.contains("Catacombs")) + totalXpStr = EnumChatFormatting.GRAY + "Total XP: " + EnumChatFormatting.DARK_PURPLE + Utils.formatNumberWithDots((long) levelObj.totalXp); } else { int maxXp = (int) levelObj.maxXpForLevel; levelStr = EnumChatFormatting.DARK_PURPLE + shortNumberFormat(Math.round((level % 1) * maxXp), |