aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-23 16:51:32 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-23 16:51:32 +0200
commitb13a72bf24976e0e0a2ec35d71f6d3626303fc60 (patch)
tree8f11242006e58a9f09e301b7b0bcac21d10deee9 /src/main/java
parent95d140ec1914eca1db840e3d87a94a02d664072f (diff)
downloadskyhanni-b13a72bf24976e0e0a2ec35d71f6d3626303fc60.tar.gz
skyhanni-b13a72bf24976e0e0a2ec35d71f6d3626303fc60.tar.bz2
skyhanni-b13a72bf24976e0e0a2ec35d71f6d3626303fc60.zip
small change
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt
index 1ebf0dfe3..aaccea8bd 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt
@@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.events.RenderInventoryItemTipEvent
import at.hannibal2.skyhanni.features.garden.GardenAPI
import at.hannibal2.skyhanni.utils.ItemUtils.getLore
import at.hannibal2.skyhanni.utils.NumberUtil
+import at.hannibal2.skyhanni.utils.NumberUtil.addSeparators
import at.hannibal2.skyhanni.utils.StringUtils.removeColor
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
@@ -34,7 +35,7 @@ class ComposterInventoryNumbers {
event.offsetY = -2
event.offsetX = -20
- event.stackTip = "§6$total"
+ event.stackTip = "§6${total.addSeparators()}"
return
}
}