Skip to content

Updated BlockChanger.java for full compatibility with Minecraft 1.21.4 and 1.21.6.#11

Open
Sean1472 wants to merge 1 commit into
Sandwichas:mainfrom
Sean1472:main
Open

Updated BlockChanger.java for full compatibility with Minecraft 1.21.4 and 1.21.6.#11
Sean1472 wants to merge 1 commit into
Sandwichas:mainfrom
Sean1472:main

Conversation

@Sean1472

Copy link
Copy Markdown
Contributor

Changes

  • Fixed reflection errors by supporting both setBlockState signatures.

  • Added fallback for blockNotify to prevent NPEs and ensure block updates.

  • Verified and tested on both 1.21.4 and 1.21.6 — works on all 1.21.x versions now.

P.S -- Sorry, I never tested my update on 1.21.6. This has fixed both on 1.21.4 + 1.21.6. Have fully tested on Paper and is fully functional.

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