[1.18.2] Error During Sided Setup Event Phase
Thelnfamous1 opened this issue ยท 3 comments
Discord user legospider777 reported an occasional crash during start-up.
A ConcurrentModificationException is thrown, likely indicating that ItemModelProperties is being manipulated in a thread-unsafe manner.
Proposed fix: Enqueue the init
call of GearRangedItemModelProperties
via FMLClientSetupEvent
.
private void doClientStuff(final FMLClientSetupEvent event) {
event.enqueueWork(GearRangedItemModelProperties::init);
}