Skip to content

Commit

Permalink
Fix suffix application on translations
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Feb 5, 2024
1 parent 4f8c4c4 commit f0f6a27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ private void increment(int amount) {
@Override
protected Component createValueLabel() {
return prefix.copy().append(GuiUtil.translateOrDefault(
new TextComponent(getValue()),
"value." + this.option.getName() + "." + getValue())).append(suffix).withStyle(style -> style.withColor(TextColor.fromRgb(0x6688ff)));
new TextComponent(getValue()).append(suffix),
"value." + this.option.getName() + "." + getValue())).withStyle(style -> style.withColor(TextColor.fromRgb(0x6688ff)));
}

@Override
Expand Down

0 comments on commit f0f6a27

Please sign in to comment.