evilcursefix-1.6.2.jar
Curse Maven Snippet
What's new
Evil Curse Fix] 1.6.2 — Update Log
Critical Fix: "Save and Quit" could hang forever
Symptom — After clicking Save and Quit to Title (typically right after pausing), the game kept rendering normally, but the world died: the server tick froze, the quit never completed, and the game had to be force-closed.
Root cause (confirmed from a real crash-recovery log) — ModernFix's perf.fix_loop_spin_waiting mixin rewrites the integrated server's wait loop to "sleep until the next tick deadline" (nextTickTime). In the pause/quit state combination, that deadline stops advancing and the wait becomes permanent — the server thread parked forever while the client waited for the server to stop. A full scan of the pack confirmed ModernFix was the only mod touching that code path.
Fix — EzfixNeutralizeModernFixSpinWaitMixin:
•
Applied after ModernFix (higher mixin priority), it replaces the "sleep until deadline" wait with a bounded 1 ms park — mathematically incapable of sleeping forever
•
Wake-up rate (1000/s) is far above the 20/s tick rate; CPU cost matches the original vanilla path
•
Applied only when ModernFix is present; ModernFix's other optimizations are untouched
This mod has no additional files

