From 5d92948e6a79a275f2091d4e8543e4b55732121d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 16 Mar 2024 19:34:26 +0100 Subject: fixed number formatting in chest value --- src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()}" -- cgit