skylorbeck / Difficultyplus

Other
0 stars 0 forks source link

Game crash upon spawning in newly created world #10

Open jacobmoerch opened 1 year ago

jacobmoerch commented 1 year ago

When you spawn in a newly created world, the game crashes almost immdiately. The game doesnt crash if i remove this mod.

It would be great if you could look into it, as I really want to use this mod!

crash-2023-05-20_13.09.29-server.txt

thebigsleepjoe commented 1 year ago

I can second this. I am on 1.19.2 and this mod was the culprit of an extremely difficult to find worldgen bug. Seems like it's trying to calculate the difficulty in a chunk that is being generated, causing an issue with Minecraft's multithreading. Mind you, I have a ton of mods, but removing this one mod resolved all of my issues.

For SEO: java.util.ConcurrentModificationException: ThreadLocalRandom accessed from a different thread (owner: Thread[Server thread,8,main], current: Thread[C2ME worker #1,4,c2me]) at com.ishland.c2me.fixes.worldgen.threading_issues.common.CheckedThreadLocalRandom.method_43156(CheckedThreadLocalRandom.java:32) ~[c2me-fixes-worldgen-threading-is0+alpha.9.9-ca69df94c15a25ce.jar:?]

Crash logs