We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707e3d7 commit e636065Copy full SHA for e636065
src/main/java/cat/nyaa/nyaacore/utils/HexColorUtils.java
@@ -29,6 +29,11 @@ public static String extractColorCode(String text) {
29
return convertToLegacyColorCode(textBuilder.toString());
30
}
31
32
+ // for old api compatibility
33
+ public static String hexColored(String text){
34
+ return extractColorCode(text);
35
+ }
36
+
37
/**
38
* Expand color code looks like <code>&#RRGGBB</code> to <code>&x&R&R&G&G&B&B</code>.
39
*
0 commit comments