Skip to content

Fix ensureLoadedAndValid overwrite#713

Closed
jcw780 wants to merge 2 commits intoCaffeineMC:developfrom
jcw780:ensureloadedandvalid_fix
Closed

Fix ensureLoadedAndValid overwrite#713
jcw780 wants to merge 2 commits intoCaffeineMC:developfrom
jcw780:ensureloadedandvalid_fix

Conversation

@jcw780
Copy link
Contributor

@jcw780 jcw780 commented Feb 2, 2026

Fix Lithium's ensureLoadedAndValid overwrite

Correct chunk loading conditions and loading order of ensureLoadedAndValid.
Vanilla loads when chunk has empty sections or invalid PoiSections - current implementation is the opposite (likely missed the !)
Vanilla checks the sections in x then y then z - current Lithium implementation checks y, z, then x.
This results in chunk loading order differences to vanilla.
While it is unclear that anything is affected by this, I am opting to fix this just in case.

@2No2Name
Copy link
Member

2No2Name commented Feb 5, 2026

Rebased and squashed

@2No2Name 2No2Name closed this Feb 5, 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