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

Catch possible NPEs when teleporting to dimensions that haven't been initialized yet #18

Merged
merged 1 commit into from Jul 20, 2023

Conversation

eigenraven
Copy link
Member

Attempt to fix the crash seen here: https://discord.com/channels/181078474394566657/603348502637969419/1131165931339518043

In case there's a stale portal to a dimension that no longer exists on disk or a weird race condition between creating a dimension and teleporting to it, cancel the teleportation instead of crashing.

@eigenraven eigenraven requested a review from a team July 19, 2023 19:56
@eigenraven eigenraven self-assigned this Jul 19, 2023
@Dream-Master Dream-Master requested a review from a team July 19, 2023 19:56
@Dream-Master Dream-Master merged commit 817299a into master Jul 20, 2023
1 check passed
@Dream-Master Dream-Master deleted the dim-npe-fix branch July 20, 2023 12:03
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.

None yet

3 participants