Skip to content

Fix inventory safety and anvil completion races - #115

Merged
CyR1en merged 2 commits into
developmentfrom
fix/ui-framework-and-anvil-lifecycle
Nov 28, 2026
Merged

CyR1en merged 2 commits into
developmentfrom
fix/ui-framework-and-anvil-lifecycle

Conversation

@CyR1en

@CyR1en CyR1en commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Changes

  • Reconcile cached storage with Paper death handling and honor cancelled pickups.
  • Disable bottom-inventory interaction in anvil GUIs and protect the live offhand during cached inventory sessions. Keep the existing bottom-component accessor for compatibility.
  • Release GUI monitors before Bukkit inventory transitions and keep the inventory mapping registered during concurrent open and close events.
  • Reserve submitted answers and manual cancels before scheduling next-tick completion in the 26.1, 26.2, and 26.3 adapters.

Verification

  • Added focused JUnit coverage for all six bugs, including answer and manual-cancel cases in each adapter.
  • Spotless passed in all four touched modules. The API check passed all 67 tests on retry.
  • Local adapter tests were blocked by Paperweight's setupMacheSources step for 26.1. GitHub Actions runs the full ./gradlew clean build.

devin-ai-integration[bot]

This comment was marked as resolved.

@CyR1en
CyR1en merged commit 5b04279 into development Nov 28, 2026
4 checks passed
CyR1en added a commit that referenced this pull request Nov 28, 2026
Fix inventory safety and anvil completion races
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