Compare commits
1 Commits
main
...
benamaurer
Author | SHA1 | Date |
---|---|---|
benamaurer | 85eeeccc79 |
|
@ -67,17 +67,17 @@ public class AsyncPlayerChatListener implements Listener {
|
||||||
matcher = syntax.matcher(chat);
|
matcher = syntax.matcher(chat);
|
||||||
switch (i) {
|
switch (i) {
|
||||||
case 0:
|
case 0:
|
||||||
chat = matcher.replaceAll("&n$1&r");
|
chat = matcher.replaceAll("<underlined>$1</underlined>");
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
case 3:
|
case 3:
|
||||||
chat = matcher.replaceAll("&o$1&r");
|
chat = matcher.replaceAll("<italic>$1</italic>");
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
chat = matcher.replaceAll("&l$1&r");
|
chat = matcher.replaceAll("<bold>$1</bold>");
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
chat = matcher.replaceAll("&m$1&r");
|
chat = matcher.replaceAll("<strikethrough>$1</strikethrough>");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue