Skip to content

Commit

Permalink
Remove legacy formatting inside translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyreum committed Feb 19, 2024
1 parent 5941126 commit 5ad464e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public abstract class MiniMessageTranslator implements Translator {
final Component resultingComponent;

if (component.arguments().isEmpty()) {
resultingComponent = mm.deserialize(MessageUtil.replaceLegacyChars(miniMessageString));
resultingComponent = mm.deserialize(miniMessageString);
} else {
resultingComponent = mm.deserialize(MessageUtil.replaceLegacyChars(miniMessageString), new ArgumentTag(component.arguments()));
resultingComponent = mm.deserialize(miniMessageString, new ArgumentTag(component.arguments()));
} if (component.children().isEmpty()) {
return resultingComponent;
} else {
Expand Down

0 comments on commit 5ad464e

Please sign in to comment.