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

Don't crash when placing blocks with gameplay enabled #430

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

patowen
Copy link
Collaborator

@patowen patowen commented Oct 5, 2024

This fixes a bug I introduced in PR #414 that likely only wasn't noticed because, in the current state of the game, entities are rarely destroyed.

Error:

thread '<unnamed>' panicked at server\src\sim.rs:407:64: 
called `Result::unwrap()` on an `Err` value: NoSuchEntity

@patowen patowen requested a review from Ralith October 5, 2024 20:30
@Ralith Ralith merged commit 054c1e5 into Ralith:master Oct 12, 2024
4 checks passed
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.

2 participants