16.7_dev-22

This commit is contained in:
2024-07-05 09:35:57 +02:00
parent 83f4a3ef71
commit a350f9fb00
16 changed files with 89 additions and 139 deletions

View File

@@ -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;
}
}