jediminer543 / JMT-MCMT

A multithreading mod for for Minecraft forge 1.15.2 and 1.16.x
https://www.curseforge.com/minecraft/mc-mods/mcmt-multithreading
BSD 2-Clause "Simplified" License
229 stars 18 forks source link

Incompatability with Magma Server software (Wont Start) #22

Open Blobanium opened 4 years ago

Blobanium commented 4 years ago

Server Wont Start when you have this mod installed

i can send you this crash log crash-2020-10-03_10.42.21-server.txt

What magma is (to those who dont know what that is): Magma is a Server Software in where you can use forge mods and Bukkit/Spigot/PaperMC plugins at the same time. i think that's all there is to it

Btw i used version 1.15.2

jediminer543 commented 4 years ago

Ok fun, I'll have a poke at that at some point

Explanation for fun and for future me: The issue is caused by field_147490_S also known as blockEventQueue. In our code we replace it with a concurrent linked deque here, so it's likely that something else is mucking around with it

This can be solved by creating a "ObjectLinkedOpenHashSet" wrapper, or by simply adding it to the syncfu list

Blobanium commented 4 years ago

also just to note that minecraft version 1.15.2 for magma isnt a stable release yet, meaning things are still being developed and things could change by a moments notice, i chose that release because it was the only release available for 1.15.2, witch in turn would also be compatable with this mod. There is a chance that this issue could be on their end. If you want heres the link to the exact repository i found it from. https://github.com/magmafoundation/Magma-1.15.x