16.7_dev-22
This commit is contained in:
@@ -131,7 +131,6 @@ public class T2C_GenerateFrame {
|
||||
|
||||
|
||||
if (console && T2C_PlatformDetector.detectPlatform == T2C_PlatformDetector.PlatformType.VELOCITY) {
|
||||
System.out.println("conole & velo");
|
||||
colorCode = "";
|
||||
nextLine = "\n";
|
||||
}
|
||||
@@ -185,7 +184,6 @@ public class T2C_GenerateFrame {
|
||||
// String miniMessageRegex = "<(?!br)(color:#([A-Fa-f0-9]{6})|[a-zA-Z_]+)(:[a-zA-Z0-9_]+)?>|</[a-zA-Z_]+>";
|
||||
// return text.replaceAll("§[a-f0-9k-oK-O]", "").replaceAll(miniMessageRegex, "");
|
||||
String s = MiniMessage.miniMessage().stripTags(text).replaceAll("§[a-f0-9k-oK-O]", "");
|
||||
System.out.println(s);
|
||||
return s;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user