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

Expose particle status client option #11573

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lulu13022002
Copy link
Contributor

No description provided.

@Lulu13022002 Lulu13022002 requested a review from a team as a code owner November 3, 2024 20:58
@@ -60,6 +61,24 @@ index 0000000000000000000000000000000000000000..ed08f823e0620289392f7fc2ff0ac721
+ return "options.chat.visibility." + this.name;
+ }
+ }
+
+ public enum ParticleStatus implements Translatable {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is ParticleStatus a good name for this? maybe ParticleVisibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes ParticleVisibility is more explicit, maybe ParticleAmount too idk.
Do you remember when ChatVisibility is unknown? the field doesn't seems to be nullable and is init in the constructor

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cant look at code rn, but theres a time period where the client options arent known to the server yet, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but in that case the player just have the default settings value. So we can't really say when the option is unknown. For example in the PlayerLoginEvent chat visibility is always full.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

2 participants