From 85eeeccc799d93b1ebd43fa30df9ea8545d72b56 Mon Sep 17 00:00:00 2001 From: benamaurer Date: Thu, 1 Sep 2022 01:23:09 +0000 Subject: [PATCH] Updating chat listener to use chatchat formatting decorators instead of dc --- .../etztech/qol/listeners/AsyncPlayerChatListener.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java b/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java index 08ebfed..a557480 100644 --- a/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java +++ b/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java @@ -67,17 +67,17 @@ public class AsyncPlayerChatListener implements Listener { matcher = syntax.matcher(chat); switch (i) { case 0: - chat = matcher.replaceAll("&n$1&r"); + chat = matcher.replaceAll("$1"); break; case 1: case 3: - chat = matcher.replaceAll("&o$1&r"); + chat = matcher.replaceAll("$1"); break; case 2: - chat = matcher.replaceAll("&l$1&r"); + chat = matcher.replaceAll("$1"); break; case 4: - chat = matcher.replaceAll("&m$1&r"); + chat = matcher.replaceAll("$1"); break; default: break;