Skip to content

Commit

Permalink
Update _index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer authored Feb 3, 2025
1 parent d42028c commit e8469f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/spigot/extra/playtime/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ holders:
playtime:
type: statistic
statistic: PLAY_ONE_MINUTE
line: "&7[&b{index}&7] &b{name} &7- &b{value;time:pattern=HH:mm:ss&type=duration&unit=ticks}"
line: "&7[&b{index}&7] &b{name} &7- &b{value_time:pattern=HH:mm:ss&type=duration&unit=ticks}"
```

We added the `line` setting to the holder and override [the default `line`]({{% ref "spigot/extra/default_value" %}}). The `{value;time:pattern=HH:mm:ss&type=duration&unit=ticks}` will format the value to a human-readable time format.
Expand Down

0 comments on commit e8469f4

Please sign in to comment.