aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-01 10:01:42 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-01 10:01:42 +0200
commitb6195af57bc6b6661bd1a2e429387d72aafc81f1 (patch)
tree3afc1aa2af58bef4e2daea647fd77df5fdee6dca /src
parent835b9a239b2578b465251e1d83ddc516e3a74fcc (diff)
downloadNotEnoughUpdates-b6195af57bc6b6661bd1a2e429387d72aafc81f1.tar.gz
NotEnoughUpdates-b6195af57bc6b6661bd1a2e429387d72aafc81f1.tar.bz2
NotEnoughUpdates-b6195af57bc6b6661bd1a2e429387d72aafc81f1.zip
reformat slayer xp in pv and changelog update
Diffstat (limited to 'src')
-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 d61f874f..fdff55f3 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java
@@ -2285,7 +2285,7 @@ public class GuiProfileViewer extends GuiScreen {
Utils.renderAlignedString(EnumChatFormatting.RED+"AVG Slayer Level", EnumChatFormatting.WHITE.toString()+Math.floor(avgSlayerLVL*10)/10,
guiLeft+xStart, guiTop+yStartBottom+yOffset*3, 76);
- Utils.renderAlignedString(EnumChatFormatting.RED + "Total Slayer XP", EnumChatFormatting.WHITE.toString() + Math.floor(totalSlayerXP * 10) / 10,
+ Utils.renderAlignedString(EnumChatFormatting.RED + "Total Slayer XP", EnumChatFormatting.WHITE.toString() + shortNumberFormat(totalSlayerXP, 0),
guiLeft + xStart, guiTop + yStartBottom + yOffset * 4, 76);
}