Skip to content

Commit

Permalink
Fix Info / Render Config Name spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Dec 2, 2024
1 parent 15529dc commit f5a2adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/fi/dy/masa/minihud/config/InfoToggle.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public String getComment()
@Override
public String getTranslatedName()
{
return this.translatedName.isEmpty() ? this.name : this.translatedName;
return StringUtils.getTranslatedOrFallback(this.translatedName, this.name);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public String getComment()
@Override
public String getTranslatedName()
{
return this.translatedName;
return StringUtils.getTranslatedOrFallback(this.translatedName, this.name);
}

@Override
Expand Down

0 comments on commit f5a2adf

Please sign in to comment.