Skip to content

Commit

Permalink
MCStrings: Fix color patterns not being applied
Browse files Browse the repository at this point in the history
  • Loading branch information
xDec0de committed Nov 2, 2024
1 parent 3cd85bb commit c1a4ad7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static boolean sendMessage(@NotNull MessageReceiver target, @NotNull Stri
public static String applyColor(@NotNull String str, boolean simple) {
String colored = Objects.requireNonNull(str, "The string to process cannot be null");
for (ColorPattern pattern : colorPatterns)
colored = pattern.applyColor(str, simple);
colored = pattern.applyColor(colored, simple);
return colored;
}

Expand Down

0 comments on commit c1a4ad7

Please sign in to comment.