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

Mark Player as @NotNull in PlayerEventIntent to communicate null chec… #1536

Conversation

madsboddum
Copy link
Member

…ks being unnecessary

While developing #1535, I had to ask my self: "Can PlayerEventIntent ever contain a null Player?"

The answer was no, so I figured I'd help ourselves in the future by just annotating the method.

@madsboddum madsboddum self-assigned this Jun 5, 2024
@madsboddum madsboddum added the IMPROVEMENT Enhancement of an existing feature label Jun 5, 2024
@Josh-Larson Josh-Larson merged commit 18d5d20 into ProjectSWGCore:master Jun 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IMPROVEMENT Enhancement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants