From 65af04ad02baa5e567b56556043eeadc10edd55c Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Thu, 28 Dec 2023 23:27:27 -0900 Subject: 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 --- .../skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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") } -- cgit