Skip to content

Use chest-access for inventory minecart interactions - #2327

Open
voidsipp wants to merge 1 commit into
EngineHub:version/7.0.xfrom
voidsipp:fix/2269-minecart-chest-access
Open

voidsipp wants to merge 1 commit into
EngineHub:version/7.0.xfrom
voidsipp:fix/2269-minecart-chest-access

Conversation

@voidsipp

@voidsipp voidsipp commented Nov 3, 2026

Copy link
Copy Markdown

Opening a chest minecart is checked as a build action before the inventory-open event. That blocks nonmembers even when the region has chest-access allow.

Use chest-access for the initial interaction with inventory minecarts too. Added listener regressions for chest and hopper minecarts, denied chest access, inventory transfers, armor stands and ordinary minecarts. The tests use the real region flag calculation with mocked Bukkit events and platform boundaries.

The Bukkit build, style and header checks pass with Java 25, along with all 177 core tests and 5 listener tests. No live Paper server or game client was run.

Fixes #2269.

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.

Cannot access the inventory of entities like chest minecarts when not member of a region

1 participant