Open Dreaming-Codes opened 2 hours ago
I'm also using https://github.com/AnOpenSauceDev/FastRandom which uses ThreadLocalRandom under the hood so it may be related
Huh, that's weird. Accessing the level random should be safe from a block entity. In fact, vanilla does this exact same thing in SculkShriekerBlockEntity#playWardenReplySound
, so I'm assuming my usage is also not a problem
Huh, that's weird. Accessing the level random should be safe from a block entity. In fact, vanilla does this exact same thing in
SculkShriekerBlockEntity#playWardenReplySound
, so I'm assuming my usage is also not a problem
Just removed FastRandom I'll let you know if I notice any difference
Hi,
I'm experiencing a problem on my server where it eventually crashes. The issue seems to arise from a java.util.ConcurrentModificationException, specifically related to ThreadLocalRandom being accessed from a different thread than its owner. Here's a snippet of the error message:
This error message is repeatedly logged, leading to the server becoming unresponsive and crashing after about a minute. Occasionally, the issue resolves itself without a crash, but this is rare.
I'm using the C2ME port from this repository: C2ME-fabric 1.20.1 with Synatra connector.
For more details, you can view the full log here: Log File.