Open impossiblearchitect opened 1 year ago
I've been able to reproduce this issue without JAOPCA. I believe I've determined the offending line as well. It is entirely within MoonlightLib within the ConditionsHackMixin. This line can cause crashing since you're looping through an iterable with hasNext
and then during the loop, removing items. Removing items from an iterable while looping through the iterable cause ConcurrentModificationExceptions.
Are you sure it's that because that's literally what iterators are for https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Iterator.html
So must be something else also because I copied tha code from fabric
Apparently another entry in the running pattern of "Moonlight/JAOPCA compat": I'm getting a ConcurrentModificationException that shows up when a user attempts to disconnect, or the
/reload
command is run. Crash report:Minecraft 1.19.2, Forge 43.2.11, Moonlight 2.2.33, JAOPCA 4.2.7.14
Thanks!