Skip to content

fix: handle missing worldguard (region) gracefully + fail hard - #264

Merged
Zoriot merged 2 commits into
mainfrom
fix/missing-build-region-on-submit
Nov 13, 2026
Merged

Zoriot merged 2 commits into
mainfrom
fix/missing-build-region-on-submit

Conversation

@Zoriot

@Zoriot Zoriot commented Nov 13, 2026

Copy link
Copy Markdown
Member

fix: keep plot submit working when the build region is missing

Submitting a plot removed WorldGuard builder permissions without checking that the build region exists, so a missing region aborted submit after the status had already changed.

fix: fail plot generation when WorldGuard regions cannot be created

Skipping protection when the region manager was null left unfinished plots without a build region. Treat that as a generation error so claim/setup can clean up instead.

That should never happen in a stable environment but happened quite often on BTEG, so handling makes sense.

Submitting a plot removed WorldGuard builder permissions without checking that the build region exists, so a missing region aborted submit after the status had already changed.
Skipping protection when the region manager was null left unfinished plots without a build region. Treat that as a generation error so claim/setup can clean up instead.
@Zoriot Zoriot self-assigned this Nov 13, 2026
@Zoriot Zoriot added the bug Something isn't working label Nov 13, 2026
@Zoriot
Zoriot merged commit 257a894 into main Nov 13, 2026
2 checks passed
@Zoriot
Zoriot deleted the fix/missing-build-region-on-submit branch November 13, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant