BlakeBr0 / IronJetpacks

Adds fully customizable FE powered jetpacks!
https://blakesmods.com/iron-jetpacks
MIT License
13 stars 21 forks source link

Accessing LegacyRandomSource from multiple threads #67

Closed chrisangelucci closed 1 year ago

chrisangelucci commented 1 year ago

Describe the bug Crash due to Error: java.lang.IllegalStateException: Accessing LegacyRandomSource from multiple threads

To Reproduce Steps to reproduce the behavior: Fly using a jetpack

Expected behavior A clear and concise description of what you expected to happen. Not crashing

Screenshots / Scripts / Logs Please add your logs and scripts (if applicable). Top of stack trace: java.lang.IllegalStateException: Accessing LegacyRandomSource from multiple threads at net.minecraft.util.ThreadingDetector.m_199417_(ThreadingDetector.java:84) ~[client-1.19.2-20220805.130853-srg.jar%23464!/:?] {re:classloading} at net.minecraft.world.level.levelgen.LegacyRandomSource.m_64707_(LegacyRandomSource.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23464!/:?] {re:classloading} at net.minecraft.world.level.levelgen.BitRandomSource.m_188501_(BitRandomSource.java:56) ~[client-1.19.2-20220805.130853-srg.jar%23464!/:?] {re:classloading} at com.blakebr0.ironjetpacks.handler.JetpackClientHandler.onClientTick(JetpackClientHandler.java:34) ~[IronJetpacks-1.19.2-6.0.2.jar%23301!/:6.0.2] {re:classloading} at com.blakebr0.ironjetpacks.handler.__JetpackClientHandler_onClientTick_ClientTickEvent.invoke(.dynamic) ~[IronJetpacks-1.19.2-6.0.2.jar%23301!/:6.0.2] {re:classloading,pl:eventbus:B}

Versions (please complete the following information):