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

Change fake NibbleArray to not use empty byte array for Thermos compat #10

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

Cleptomania
Copy link
Member

This should fix a crash with Thermos where it is incompatible with receiving a completely empty(but not null) byte array for the underlying data array of a NibbleArray. This is only used in NEID to trick minecraft into thinking the length of the NibbleArray is zero, initializing in this way accomplishes the same but shouldn't break Thermos.

The MixinChunk change wouldn't actually need to change, but figured I'd keep the approaches in sync since they do more or less the exact same thing as MixinS21PacketChunkData which is the one that actually breaks Thermos.

@Dream-Master Dream-Master requested a review from a team February 18, 2024 09:40
@Dream-Master
Copy link
Member

works on zeta

@Dream-Master Dream-Master merged commit d09c650 into master Feb 20, 2024
2 checks passed
@Dream-Master Dream-Master deleted the thermos-compat branch February 20, 2024 19:57
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