Skip to content

Fix NPE in TransmutationContainer.fromNetwork when buf is null - #2472

Open
GoodCarnival386 wants to merge 1 commit into
sinkillerj:mc1.21.1from
GoodCarnival386:fix-transmutation-gui-npe
Open

Fix NPE in TransmutationContainer.fromNetwork when buf is null#2472
GoodCarnival386 wants to merge 1 commit into
sinkillerj:mc1.21.1from
GoodCarnival386:fix-transmutation-gui-npe

Conversation

@GoodCarnival386

Copy link
Copy Markdown

Issue: In NeoForge 1.21.1, returning to the Transmutation Table from a nested GUI (like a portable crafting table) causes a disconnect because the client receives a null FriendlyByteBuf. #2471

Fix: Added a buf != null check before buf.readBoolean() in TransmutationContainer.fromNetwork.

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.

1 participant