promotional bannermobile promotional banner

evilcursefix

Defensive crash and recursion fixes for the CLOSING SONG EZHOU 1.3.1+ modpack.
Back to Files

evilcursefix-1.6.2.jar

File nameevilcursefix-1.6.2.jar
Uploader
yuuka0desuyuuka0desu
Uploaded
Sep 13, 2026
Downloads
33
Size
86.2 KB
Mod Loaders
Forge
File ID
8870343
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:evilcursefix-1682959:8870343")

Learn more about Curse Maven

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