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 despawn containers #489

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

snipercup
Copy link
Collaborator

@snipercup snipercup commented Nov 27, 2024

Fixes #478

The stack trace shows that the inventory node gets the "unparented" notification and respond to that. This likely happens during destruction, when the chunk gets unloaded. The "destroy" function works but wasn't complete without:
Helper.signal_broker.container_exited_proximity.emit(self)

After that I am unable to reproduce the error.

@snipercup snipercup added the bug Something isn't working label Nov 27, 2024
@snipercup snipercup merged commit d126929 into Khaligufzel:main Nov 28, 2024
@snipercup snipercup deleted the fix-despawn-containers branch November 28, 2024 00:21
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
1 participant