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

Fix/nullable expires at #25

Merged
merged 2 commits into from
Jun 13, 2023
Merged

Fix/nullable expires at #25

merged 2 commits into from
Jun 13, 2023

Conversation

voidpointer0x00
Copy link
Owner

#24

The issue mentioned above relates to the SimpleWhitelistable implementation that, for some reason, had the expiresAt field marked as @NonNull, which is counterintuitive in its nature — we use null as NEVER_EXPIRES. This PR fixes this behaviour.

NullPointerException happened because SimpleWhitelistable did not
support nullable `expiresAt` field, which represents a non-expirable
entity.
@voidpointer0x00 voidpointer0x00 linked an issue Jun 13, 2023 that may be closed by this pull request
@voidpointer0x00 voidpointer0x00 merged commit 0fc8b40 into dev-j8 Jun 13, 2023
@voidpointer0x00 voidpointer0x00 deleted the fix/nullable-expiresAt branch February 23, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Couldn't add a player to the whitelist
1 participant