aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorObsidian <108832807+Obsidianninja11@users.noreply.github.com>2023-12-28 23:27:27 -0900
committerGitHub <noreply@github.com>2023-12-29 09:27:27 +0100
commit65af04ad02baa5e567b56556043eeadc10edd55c (patch)
tree0af7492fac3c2e973f98a240b33311500cc6c8ca
parentb168386ac71edc61d1e8da72ef1bee0ae7bc4918 (diff)
downloadskyhanni-65af04ad02baa5e567b56556043eeadc10edd55c.tar.gz
skyhanni-65af04ad02baa5e567b56556043eeadc10edd55c.tar.bz2
skyhanni-65af04ad02baa5e567b56556043eeadc10edd55c.zip
Fixed skyhanni's max crop milestone display being too long (#836)
Fixed max crop milestone display being too long in the crop milestone menu. #836
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
index 890188f34..ded515cec 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
@@ -72,7 +72,7 @@ class GardenCropMilestoneInventory {
val percentageFormat = LorenzUtils.formatPercentage(percentage)
event.toolTip.add(index, " ")
- val progressBar = StringUtils.progressBar(percentage)
+ val progressBar = StringUtils.progressBar(percentage, 19)
event.toolTip.add(index, "$progressBar §e${counter.addSeparators()}§6/§e${NumberUtil.format(maxCounter)}")
event.toolTip.add(index, "§7Progress to Tier $maxTier: §e$percentageFormat")
}