aboutsummaryrefslogtreecommitdiff
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
parent835b9a239b2578b465251e1d83ddc516e3a74fcc (diff)
downloadNotEnoughUpdates-b6195af57bc6b6661bd1a2e429387d72aafc81f1.tar.gz
NotEnoughUpdates-b6195af57bc6b6661bd1a2e429387d72aafc81f1.tar.bz2
NotEnoughUpdates-b6195af57bc6b6661bd1a2e429387d72aafc81f1.zip
reformat slayer xp in pv and changelog update
-rw-r--r--Update Notes/2.0-Pre31.md21
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java2
2 files changed, 12 insertions, 11 deletions
diff --git a/Update Notes/2.0-Pre31.md b/Update Notes/2.0-Pre31.md
index 70470c94..2dd2f1c0 100644
--- a/Update Notes/2.0-Pre31.md
+++ b/Update Notes/2.0-Pre31.md
@@ -10,10 +10,10 @@
- Added toggle for etherwarp helper overlay text.
- Added toggle for settings and help icon at the search bar.
- Added toggle for showing the reforge stats of a reforge stone.
-- Added open in skycrypt button to pv
+- Added open in skycrypt button to pv.
- Added SBP Cape.
-- Added ironman indicator (thanks for the icon ery)
-- Added join date, Last seen and guild to pv (Last seen is based on last saved so this value is not when a player is online)
+- Added ironman indicator. (thanks for the icon ery)
+- Added join date, Last seen and guild to pv. (Last seen is based on last saved so this value is not when a player is online)
### **Bug Fixes**
@@ -26,18 +26,19 @@
- Add an extra button texture so dark ui themes do not make the dungeon map editor unreadable. (located at "dungeon_map/editor/button.png")
- Fix a spelling mistake in todo timers "Godpotf".
- Fix Reforge stones with reforges that have no stats not showing the tooltip (hot stuff/heated example) (heated can now have its stats hotfix reverted @repo guys)
-- Fix dungeon win overlay
-- Remove description and price tooltip from backpack/personalvault icon in /pv
+- Fix dungeon win overlay.
+- Remove description and price tooltip from backpack/personalvault icon in /pv.
- Added a hidden toggle to disable the negative cape (replaced with null cape (cause i thought it looked nice)) as a user was not able to play due to a graphical bug that caused their screen to turn full green.
### **Other**
-- code clean up by Ironm00n.
-- rename variables to be more consistent. (Ironm00n)
-- devpane changes. (? - DoKM) (Ironm00n)
-- remove an unused button from ItemEditor. (Ironm00n)
+- Code clean up by Ironm00n.
+- Rename variables to be more consistent. (Ironm00n)
+- Devpane changes. (? - DoKM) (Ironm00n)
+- Remove an unused button from ItemEditor. (Ironm00n)
- Moved repoUrl and Repo commits Url to config.hidden. (Ironm00n)
- A lot more. (Ironm00n)
- Change Default todo overlay colours.
- Added a notice to /neusouls help to inform the user that it does not work in dungeons.
-- Removed unused texture
+- Removed unused texture.
+- Reformatted Total Slayer XP number.
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);
}