diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-16 19:34:26 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-16 19:34:26 +0100 |
commit | 5d92948e6a79a275f2091d4e8543e4b55732121d (patch) | |
tree | 9c49109c9d0f1b529d4570f3840a828d73726bec /src/main/java | |
parent | 926a07189195ee545ee619521b3173b8542c6146 (diff) | |
download | skyhanni-5d92948e6a79a275f2091d4e8543e4b55732121d.tar.gz skyhanni-5d92948e6a79a275f2091d4e8543e4b55732121d.tar.bz2 skyhanni-5d92948e6a79a275f2091d4e8543e4b55732121d.zip |
fixed number formatting in chest value
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt index 506f53b5b..a1daa8ef9 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt @@ -128,7 +128,7 @@ class ChestValue { totalPrice += total if (rendered >= config.itemToShow) continue if (total < config.hideBelow) continue - val textAmount = " §7x$amount:" + val textAmount = " §7x${amount.addSeparators()}:" val width = Minecraft.getMinecraft().fontRendererObj.getStringWidth(textAmount) val name = "${stack.itemName.reduceStringLength((config.nameLength - width), ' ')} $textAmount" val price = "§6${(total).formatPrice()}" |