Skip to content

Commit

Permalink
Fixed skyhanni's max crop milestone display being too long (#836)
Browse files Browse the repository at this point in the history
Fixed max crop milestone display being too long in the crop milestone menu. #836
  • Loading branch information
Obsidianninja11 authored Dec 29, 2023
1 parent b168386 commit 65af04a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 65af04a

Please sign in to comment.