Skip to content

Fix BlockTypes field initialization#3525

Merged
NotMyFault merged 1 commit into
mainfrom
fix/BlockTypes-init
May 15, 2026
Merged

Fix BlockTypes field initialization#3525
NotMyFault merged 1 commit into
mainfrom
fix/BlockTypes-init

Conversation

@SirYwell
Copy link
Copy Markdown
Member

Overview

Fixes #3524

Description

We need to use our init() method there, otherwise things are mixed up. I added a check to detect such problems earlier.

Submitter Checklist

  • Make sure you are opening from a topic branch (/feature/fix/docs/ branch (right side)) and not your main branch.
  • Ensure that the pull request title represents the desired changelog entry.
  • New public fields and methods are annotated with @since TODO.
  • I read and followed the contribution guidelines.

@SirYwell SirYwell requested a review from a team as a code owner May 15, 2026 12:44
@NotMyFault NotMyFault added the Bugfix This PR fixes a bug label May 15, 2026
@NotMyFault NotMyFault merged commit f1260d5 into main May 15, 2026
9 checks passed
@NotMyFault NotMyFault deleted the fix/BlockTypes-init branch May 15, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix This PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BlockTypes.GRASS_BLOCK (and possibly others) returns null on MC 26.1.2

2 participants