Skip to content

Fix Issue #186: Orphan Plots#216

Merged
Zoriot merged 3 commits into
update/world-generation-reworkfrom
fix/186-restore-slot
May 27, 2026
Merged

Fix Issue #186: Orphan Plots#216
Zoriot merged 3 commits into
update/world-generation-reworkfrom
fix/186-restore-slot

Conversation

@Cinnazeyy
Copy link
Copy Markdown
Member

When using undoreview, it can happen that a builder already filled up all slots again after the review was completed, meaning undoreview cannot set the plot to a slot again, resulting in an orphan plot that is assigned to a builder but not a slot.
This PR changes how the undoreview() method treats this edgecase by simply returning true instead of false.
This will still cause an orphan, but not fail the /undoreview command early and result in the orphans at least being accessible via the player plots menu.

Additionally, this PR also adds a check for whenever a slot is getting freed up, to assign the next orphan instead.

@Cinnazeyy Cinnazeyy linked an issue May 11, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Member

@Zoriot Zoriot left a comment

Choose a reason for hiding this comment

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

Please fix the Codacy issue, other then that LGTM

@Zoriot Zoriot added bug Something isn't working low priority labels May 23, 2026
@Zoriot Zoriot merged commit 0cf165f into update/world-generation-rework May 27, 2026
1 check was pending
@Zoriot Zoriot deleted the fix/186-restore-slot branch May 27, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working low priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] - Plot Slot Bugged - We need a Queue

2 participants