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 null world checks in spawn handling logic #71

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

NonSwag
Copy link
Member

@NonSwag NonSwag commented Jan 8, 2025

Added checks to ensure the spawn location's world is not null in listener methods and the spawn command. This prevents potential errors when accessing invalid or undefined worlds in the spawn configuration.
closes #68

Added checks to ensure the spawn location's world is not null in listener methods and the spawn command. This prevents potential errors when accessing invalid or undefined worlds in the spawn configuration.
@NonSwag NonSwag added the bug Something isn't working label Jan 8, 2025
@NonSwag NonSwag self-assigned this Jan 8, 2025
@NonSwag NonSwag merged commit 263abf2 into master Jan 8, 2025
2 checks passed
@NonSwag NonSwag deleted the fix-spawn-npe branch January 8, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix npe on join if world of spawn is null
1 participant