Skip to content

Fix hardcoded obsidian check when igniting a portal#1750

Merged
granny merged 1 commit intoPurpurMC:ver/1.21.11from
JLyne:ctying-obsidian-fix
Jan 8, 2026
Merged

Fix hardcoded obsidian check when igniting a portal#1750
granny merged 1 commit intoPurpurMC:ver/1.21.11from
JLyne:ctying-obsidian-fix

Conversation

@JLyne
Copy link
Contributor

@JLyne JLyne commented Jan 8, 2026

BaseFireBlock.isPortal currently has a hardcoded check for a neighbouring Obsidian block, which prevents portals including Crying Obsidian from being ignited if the targeted block has no neighbouring Obsidian.

This PR replaces the check with testing against PortalShape.FRAME which respects the Crying Obsidian setting.

Before:
https://github.com/user-attachments/assets/fa2083be-35aa-484c-afca-814483aa1de2

After:
https://github.com/user-attachments/assets/94069a85-d332-4c1d-831c-8b67b1f18b92

Copy link
Member

@granny granny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@granny granny merged commit ef691bf into PurpurMC:ver/1.21.11 Jan 8, 2026
1 check passed
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