Skip to content

Fix invalid comparison in dimension condition#4518

Merged
Ghostipedia merged 1 commit into1.20.1from
jj/fix-dimension-condition
Jan 29, 2026
Merged

Fix invalid comparison in dimension condition#4518
Ghostipedia merged 1 commit into1.20.1from
jj/fix-dimension-condition

Conversation

@jurrejelle
Copy link
Copy Markdown
Contributor

What

this.dimension is a ResourceKey
level.dimension().location() is a ResourceLocation

Implementation Details

Simply add .location()

How Was This Tested

Recipe:
image

Before:
image

After:
https://github.com/user-attachments/assets/518771a2-b8f2-48b4-9b7c-04575d3616be

@jurrejelle jurrejelle requested a review from a team as a code owner January 29, 2026 19:24
@jurrejelle jurrejelle added ignore changelog PR should not be added to the changelog. type: bugfix General bug fixes 1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Jan 29, 2026
@Ghostipedia Ghostipedia enabled auto-merge (squash) January 29, 2026 19:24
@Ghostipedia Ghostipedia merged commit 5ad5f7c into 1.20.1 Jan 29, 2026
6 checks passed
@Ghostipedia Ghostipedia deleted the jj/fix-dimension-condition branch January 29, 2026 19:26
@github-actions github-actions bot added the Tests: Passed Game Tests have passed on this PR label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants