Non thread-safe dispenser behavior registration #13
Labels
1.14.4
Minecraft 1.14.4
1.15.2
Minecraft 1.15.2
compatibility
An issue occurred because of incompatibility.
The current dispenser behavior registration is not thread safe, as
FMLCommonSetup
is a parallel dispatched event andDispenserBlock#registerDispenseBehavior
does not support concurrency. When additional mods are installed which have this similar code the game may fail to load from the internal registry map being put into a bad state.Stacktrace:
The typical remedy is to use
DeferredWorkQueue
as you have so far for entity spawn registration. This issue also applies to the current feature registration as that is not concurrent either.The text was updated successfully, but these errors were encountered: