WearBlackAllDay / DimensionalThreading

An attempt to optimize the fabric server, by assigning each dimension their own thread.
MIT License
255 stars 22 forks source link

Dimthread maybe incompatible with carpet rule: updateSuppressionCrashFix #79

Open OptiJava opened 1 year ago

OptiJava commented 1 year ago

updateSuppressionCrashFix rule not work when I add dimthread. image

I think this problem is caused by two mods modifying the same method:MinecraftServer$tickWorlds

Dimthread source code: image

Carpet source code: image image

Carpet will throw a ThrowableSuppression if there is a StackOverFlowError,and plans to catch it in MinecraftServer$tickWorlds But dimthread also modifying method MinecraftServer$tickWorlds.

I hope you can solve this problem.Thankyou.