Skip to content

Commit

Permalink
changed maxUnits to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed Jan 4, 2025
1 parent db69be3 commit f3d96d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object HeldTimeInLore {
if (!config.timeHeldInLore) return

val seconds = event.itemStack.getSecondsHeld() ?: return
val formatted = seconds.seconds.format()
val formatted = seconds.seconds.format(maxUnits = 2)

event.toolTip.addOrInsert(10, "§7Time Held: §b$formatted")
}
Expand Down

0 comments on commit f3d96d3

Please sign in to comment.