From 6e917cc1d85a709866c7e9c7b070571798b09bff Mon Sep 17 00:00:00 2001 From: Yaode_owo Date: Mon, 14 Oct 2024 07:25:19 -0400 Subject: [PATCH] fix profileless chat --- main/chatparser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/chatparser.js b/main/chatparser.js index 8ec0c0e..888b820 100644 --- a/main/chatparser.js +++ b/main/chatparser.js @@ -79,8 +79,8 @@ bot.on('profileless_chat', (packet) => { // sudo and vanish profilelesschat.nocolor_msg = `You whisper to ${profilelesschat.nocolor_targetName}: ${profilelesschat.nocolor_formattedMessage}`; break; case 4: // player chat - profilelesschat.message = profilelesschat.unsignedContent; - profilelesschat.nocolor_msg = profilelesschat.nocolor_unsignedContent; + profilelesschat.message = profilelesschat.formattedMessage; + profilelesschat.nocolor_msg = profilelesschat.nocolor_formattedMessage; break; case 5: // /say text profilelesschat.message = `[${profilelesschat.senderName}] ${profilelesschat.formattedMessage}`;