Skip to content

fix bug#176

Merged
Rongmario merged 1 commit intoCleanroomMC:cleanroomfrom
Circulate233:cleanroom
Apr 6, 2026
Merged

fix bug#176
Rongmario merged 1 commit intoCleanroomMC:cleanroomfrom
Circulate233:cleanroom

Conversation

@Circulate233
Copy link
Copy Markdown
Contributor

BookmarkListBatchRenderer#sizePages could enter an infinite loop when a page had no usable slots, because the outer loop assumed each pass would advance ingredientIndex.
This change records the page start index and checks whether a full page scan actually consumed any ingredients.
If a pass makes no progress, the method now returns the current page list instead of repeating the same page forever.
Normal paging behavior is unchanged, but empty, fully blocked, or otherwise non-progressing layouts no longer hang.

@Rongmario Rongmario merged commit d6f44a5 into CleanroomMC:cleanroom Apr 6, 2026
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