Skip to content

Commit f56e48b

Browse files
committed
How is this complex please actually tell me instead of just saying "ah yes complex method hehe"
1 parent 1a188cf commit f56e48b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/main/java/dev/hypera/ultrastaffchat/utils

src/main/java/dev/hypera/ultrastaffchat/utils/MD_.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public static String parseMarkdown(String message) {
5050
}
5151

5252
private static StringBuilder parseParts(String translated) {
53-
String[] parts = (" " + translated).split("" + ChatColor.COLOR_CHAR);
53+
String partForPart = (" " + translated);
54+
String[] parts = partForPart.split("" + ChatColor.COLOR_CHAR);
5455
StringBuilder builder = new StringBuilder();
5556
for (String part : parts) {
5657
if (part.isEmpty()) {

0 commit comments

Comments
 (0)