Skip to content

Respect vanilla limits in dialogs #3831

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

Closed

Conversation

Outfluencer
Copy link
Collaborator

Also i marked all values that are not allowed to be null with lombok's NonNull annotation.
This causes an exception in bungee, i think this is much better than sending invalid data to the client, that makes the client disconnect on its on, and it enforces the correct usage of the api

@Outfluencer Outfluencer requested a review from md-5 May 24, 2025 11:03
@Outfluencer Outfluencer linked an issue May 24, 2025 that may be closed by this pull request
7 tasks
@Outfluencer Outfluencer marked this pull request as draft May 24, 2025 12:31
@Outfluencer
Copy link
Collaborator Author

Seems like all values that have a default value can be nullable
like columns and widths.
I will take that into account

@Outfluencer Outfluencer marked this pull request as ready for review May 24, 2025 13:03
md-5 pushed a commit that referenced this pull request May 24, 2025
@md-5 md-5 closed this May 24, 2025
@Outfluencer Outfluencer deleted the enforce-dialog-limits branch May 25, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve dialog API - contributions welcome
2 participants