BetterRandomSourceConcurrencyCrash

BetterRandomSourceConcurrencyCrash

79.8k Downloads

This mod improves the logging when a mod accesses a LegacyRandomSource from the wrong thread, causing a java.lang.IllegalStateException: Accessing LegacyRandomSource from multiple threads crash, by adding information about the second thread involved in the crash.

Disclaimer: This mod is purely intended for debugging and should not be installed unless needed for debugging due to the overhead it adds to the LegacyRandomSource!