Skip to content

Fix CME in Client Setup and Incompatibility with Shield Expansion#166

Open
evanbones wants to merge 5 commits intoTeamGalena:1.20.xfrom
evanbones:1.20.x
Open

Fix CME in Client Setup and Incompatibility with Shield Expansion#166
evanbones wants to merge 5 commits intoTeamGalena:1.20.xfrom
evanbones:1.20.x

Conversation

@evanbones
Copy link

@evanbones evanbones commented Dec 30, 2025

FMLClientSetupEvent runs in parallel and ItemProperties.register and ItemBlockRenderTypes.setRenderLayer aren't thread-safe, causing this semi-infrequent crash:
https://mclo.gs/aCfIKMH

Wrapping these calls in event.enqueueWork() ensures they run safely on the main thread

The Shield Expansion incompatibility was caused by changes to internals, simply compiling against the latest version of Shield Expansion fixes it.

Closes #172
Might also close #25

@evanbones evanbones changed the title Fix ConcurrentModificationException in Client Setup Fix CME in Client Setup and Incompatibility with Shield Expansion Jan 27, 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.

1 participant