Skip to content

Commit

Permalink
- Fix regression from 0.98.3.4 that resulted in some command output
Browse files Browse the repository at this point in the history
breaking due to #6078.
  • Loading branch information
LlmDl committed Aug 15, 2022
1 parent 40802d1 commit 4e617f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7686,4 +7686,5 @@ v0.92.0.11:
- Add TownyComponents class, courtesy of Warriorrrr with PR #6105.
- Make the ASCII map fully use components, courtesy of Warriorrrr with PR #6103.
- Handle bold characters in titles using pixelwidth, courtesy of Warriorrrr with PR #6107.
- Allow /plot set name to be used on plots in groups, courtesy of Warriorrrr with PR #6108.
- Allow /plot set name to be used on plots in groups, courtesy of Warriorrrr with PR #6108.
- Fix regression from 0.98.3.4 that resulted in some command output breaking due to #6078.
6 changes: 6 additions & 0 deletions src/com/palmergames/bukkit/towny/object/Translatable.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ private void translateArgs(@Nullable Locale locale) {

@Override
public String toString() {
// Something is causing our translatable to become a string, this is usually
// cause for translating it and appending it to an ongoing string.
return translate();
}

public String debug() {
return "Translatable{" +
"key='" + key + '\'' +
", args=" + Arrays.toString(args) +
Expand Down

0 comments on commit 4e617f4

Please sign in to comment.