aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-08-28 20:02:24 +1000
committerGitHub <noreply@github.com>2023-08-28 12:02:24 +0200
commit1fdbbe23800bd6347e6f7e3de9362c7745e2c144 (patch)
tree99f95c30f4ff09b92998591b74c6607b65f5e3ea /src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt
parent7c38caa1966996141e159997e85150a107fdd352 (diff)
downloadskyhanni-1fdbbe23800bd6347e6f7e3de9362c7745e2c144.tar.gz
skyhanni-1fdbbe23800bd6347e6f7e3de9362c7745e2c144.tar.bz2
skyhanni-1fdbbe23800bd6347e6f7e3de9362c7745e2c144.zip
Merge pull request #404
* Various /ff fixes
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt
index 9c9d612f3..a8d493018 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt
@@ -236,7 +236,7 @@ object GuiRenderUtils {
GlStateManager.scale(textScale, textScale, 1f)
drawString(label, xPos * inverseScale, yPos * inverseScale)
drawString(
- "§2$current / ${DecimalFormat("0.#").format(maxValue)}☘",
+ "§2$current / ${DecimalFormat("0.##").format(maxValue)}☘",
xPos * inverseScale,
(yPos + 8) * inverseScale
)