Skip to content

fix(freeze): allow right-clicking air-backed frozen blocks#89

Merged
TWME-TW merged 1 commit into
TWME-TW:mainfrom
twme-ai:fix/frozen-block-right-click
Jul 13, 2026
Merged

fix(freeze): allow right-clicking air-backed frozen blocks#89
TWME-TW merged 1 commit into
TWME-TW:mainfrom
twme-ai:fix/frozen-block-right-click

Conversation

@twme-ai

@twme-ai twme-ai commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • scan the player sight line when a freeze-mode interaction is reported as RIGHT_CLICK_AIR
  • resolve registered frozen locations even when their backing world block is air
  • stop at the nearest normally targetable block to prevent selecting frozen blocks through walls

Context

The latest 0.5.2 release keeps frozen blocks as air and renders them with display/fake-barrier state. Bukkit block ray tracing therefore returns no target for a direct right-click on the frozen location. Main now uses physical barriers, but this fallback keeps the interaction correct for air-backed frozen state and maintenance backports.

Verification

  • mvn test
  • mvn package
  • git diff --check upstream/main...HEAD

@TWME-TW TWME-TW merged commit f9ee308 into TWME-TW:main Jul 13, 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