Compare commits

..

No commits in common. "benamaurer-chatchatDiscod" and "main" have entirely different histories.

1 changed files with 4 additions and 4 deletions

View File

@ -67,17 +67,17 @@ public class AsyncPlayerChatListener implements Listener {
matcher = syntax.matcher(chat);
switch (i) {
case 0:
chat = matcher.replaceAll("<underlined>$1</underlined>");
chat = matcher.replaceAll("&n$1&r");
break;
case 1:
case 3:
chat = matcher.replaceAll("<italic>$1</italic>");
chat = matcher.replaceAll("&o$1&r");
break;
case 2:
chat = matcher.replaceAll("<bold>$1</bold>");
chat = matcher.replaceAll("&l$1&r");
break;
case 4:
chat = matcher.replaceAll("<strikethrough>$1</strikethrough>");
chat = matcher.replaceAll("&m$1&r");
break;
default:
break;