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

Null-check multiblock controllers when disassembling #6943

Open
wants to merge 1 commit into
base: mc1.20.1/dev
Choose a base branch
from

Conversation

CynicalBusiness
Copy link

Hi!

We run a public Create server (running Minecraft 1.20.1) and it started crashing pretty regularly after updating to 0.5.1h. Did some digging and found it's the same issue as #6915, albiet with gantries rather than pistons.

My understanding is: in rare cases, a second contraption can pick up multi-blocks too quickly and the prevControllerInfo ends up null, crashing the game/server. I suspect there might be a "better" solution of kinda "doing it right" to prevent the null from appearing in the first place, but my knowledge of the Create codebase is limited and this at least stops the server from crashing from this.

Fixes #6915 and #6925

In rare cases, a second contraption can pick up multiblocks too quickly
and the "prevControllerInfo" ends up null, crashing the game/server.
Fixes Creators-of-Create#6915 and Creators-of-Create#6925
@IThundxr IThundxr added pr type: fix PR fixes a bug pr flag: simple PR has minimal changes labels Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr flag: simple PR has minimal changes pr type: fix PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mechanical piston crash game
2 participants