Iron Jetpacks

Iron Jetpacks

50M Downloads

Accessing LegacyRandomSource from multiple threads

chrisangelucci opened this issue ยท 0 comments

commented

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):

  • Minecraft: 1.19.2
  • Forge: 43.1.55
  • Cucumber: 6.0.3
  • Iron Jetpacks: 6.0.2