Skip to content

Commit 0832fb8

Browse files
committed
fix a potential bug one day?
1 parent d17dc37 commit 0832fb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/iridium/iridiumcolorapi/IridiumColorAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private static String apply(@Nonnull String source, ChatColor[] colors) {
175175
}
176176

177177
char nextChar = source.charAt(i + 1);
178-
if ('r' == nextChar) {
178+
if ('r' == nextChar || 'R' == nextChar) {
179179
specialColors.setLength(0);
180180
} else {
181181
specialColors.append(currentChar).append(nextChar);

0 commit comments

Comments
 (0)