Skip to content

Commit

Permalink
Fixed 'unsignedContent' field using nonexistent 'packet.unsignedConte…
Browse files Browse the repository at this point in the history
…nt' when emitting 'playerChat' event. (#1263)
  • Loading branch information
Ynfuien authored Dec 27, 2023
1 parent 788bff2 commit 066a2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 066a2b3

Please sign in to comment.