diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-12 22:31:17 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-12 22:31:17 +0200 |
commit | b1df3771396f2f95910608a7edebe81869e7a955 (patch) | |
tree | 0a9606af7378857b5ff2414299d5d98f86820ec8 /src/main/java | |
parent | 70dfeb1e6b3f241731063d7014207b02b074bd8e (diff) | |
download | skyhanni-b1df3771396f2f95910608a7edebe81869e7a955.tar.gz skyhanni-b1df3771396f2f95910608a7edebe81869e7a955.tar.bz2 skyhanni-b1df3771396f2f95910608a7edebe81869e7a955.zip |
Small stuff
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt index 2db7f4111..3943edd9c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt @@ -10,6 +10,7 @@ import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName import at.hannibal2.skyhanni.utils.ItemUtils.getLore import at.hannibal2.skyhanni.utils.ItemUtils.name import at.hannibal2.skyhanni.utils.LorenzUtils.addAsSingletonList +import at.hannibal2.skyhanni.utils.NumberUtil.addSeparators import at.hannibal2.skyhanni.utils.RenderUtils.drawString import at.hannibal2.skyhanni.utils.RenderUtils.renderStringsAndItems import at.hannibal2.skyhanni.utils.StringUtils.removeColor @@ -121,7 +122,7 @@ class GardenVisitorFeatures { val list = mutableListOf<Any>() list.add(" §7- ") list.add(itemStack) - list.add("$name §8x$amount") + list.add("$name §8x${amount.addSeparators()}") if (config.visitorNeedsShowPrice) { val price = NEUItems.getPrice(internalName) * amount |