Skip to content

Commit

Permalink
chore: remove static keywords for 'fromLegacy' method since it's not …
Browse files Browse the repository at this point in the history
…neededg
  • Loading branch information
lulu2002 committed Aug 18, 2024
1 parent d49d018 commit c1cb927
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public Component decode(String legacyText, TagResolver tagResolver) {
return MiniMessage.miniMessage().deserialize(fromLegacy(legacyText, '&'), tagResolver);
}

public static String fromLegacy(String text, char code) {
public String fromLegacy(String text, char code) {
StringBuilder stringBuilder = new StringBuilder();
int lastIndex = 0;

Expand Down

0 comments on commit c1cb927

Please sign in to comment.