Skip to content

Commit

Permalink
fix a potential bug one day?
Browse files Browse the repository at this point in the history
  • Loading branch information
iiAhmedYT committed Jan 9, 2024
1 parent 5d3b7a3 commit 69b453f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private static String apply(@Nonnull String source, ChatColor[] colors) {
}

char nextChar = source.charAt(i + 1);
if ('r' == nextChar) {
if ('r' == nextChar || 'R' == nextChar) {
specialColors.setLength(0);
} else {
specialColors.append(currentChar).append(nextChar);
Expand Down

0 comments on commit 69b453f

Please sign in to comment.