-
Notifications
You must be signed in to change notification settings - Fork 101
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
Protocol changes for 1.21.50 #279
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look ok to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't there supposed to be new PlayerAuthInput
flags in this version? I thought that's why they added the bitset nastiness.
hasFlag should probably be kept for compatibility |
It's a protocol update, we don't care about BC in the protocol. Every update requires breaking stuff anyway. |
CI is crying about something unspecified, pls run tests locally and see what the problem is |
private UuidInterface $worldTemplateId; | ||
private string $worldTemplateVersion; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be public as there are no get/setters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. If someone wants to make a PR of it, go for it. Else I'll sort it out tomorrow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the convention has been to keep fields public in older packets and only private them in newly added packets, to ensure the API is consistent within packets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That being said I've never been super sure whether privating the fields was a good idea... what we really need more than anything else is #95
No description provided.