Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsignedContent correction for playerChat event. #1263

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

Ynfuien
Copy link
Contributor

@Ynfuien Ynfuien commented Nov 22, 2023

When emitting one of playerChat events, there was used nonexisting packet.unsignedContent, to set unsignedContent field. So when using playerChat event, unsignedContent was unknown.

@frej4189
Copy link
Contributor

frej4189 commented Nov 23, 2023

The field is called unsignedContent - at the very least it is in 1.19.2

https://github.com/PrismarineJS/minecraft-data/blob/master/data/pc/1.19.2/protocol.json#L3319

If other versions have a different field name you should fix that in minecraft-data instead

@rom1504
Copy link
Member

rom1504 commented Dec 27, 2023

@frej4189 I read unsignedChatContent where you are pointing. What am I missing?

@rom1504
Copy link
Member

rom1504 commented Dec 27, 2023

@rom1504 rom1504 merged commit 066a2b3 into PrismarineJS:master Dec 27, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

3 participants