From 066a2b3646cb8bef6be1fa974597b975aaf08d42 Mon Sep 17 00:00:00 2001 From: Ynfuien <88110072+Ynfuien@users.noreply.github.com> Date: Wed, 27 Dec 2023 16:32:42 +0100 Subject: [PATCH] Fixed 'unsignedContent' field using nonexistent 'packet.unsignedContent' when emitting 'playerChat' event. (#1263) --- src/client/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/chat.js b/src/client/chat.js index e4a94667..3571b733 100644 --- a/src/client/chat.js +++ b/src/client/chat.js @@ -198,7 +198,7 @@ module.exports = function (client, options) { if (verified) client._signatureCache.push(packet.signature) client.emit('playerChat', { plainMessage: packet.plainMessage, - unsignedContent: packet.unsignedContent, + unsignedContent: packet.unsignedChatContent, type: packet.type, sender: packet.senderUuid, senderName: packet.networkName,