Skip to content

Commit 1cbdfe4

Browse files
committed
Fix &p format code not working
1 parent baebe14 commit 1cbdfe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/syam/motdmanager/util/Actions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public static void debug(String msg){
200200
*/
201201
public static String coloring(String string){
202202
if (string == null) return null;
203-
string = string.replaceAll("&([0-9a-fA-Fk-oK-OrR])", "\u00A7$1");
203+
string = string.replaceAll("&([0-9a-fA-Fk-pK-PrR])", "\u00A7$1");
204204

205205
// don't touch above replace method. keep backward compatibility.
206206
string = string.replaceAll("\u00A7P", "\u00A7p");

0 commit comments

Comments
 (0)