create-warheads-0.15.0.jar
Curse Maven Snippet
What's new
## Create: Warheads - Stability fixes
### Fixed
- **State leaking between worlds**
In-progress detonations, delayed tasks (cluster bomblets, MIRV warheads) and the radar registry were kept in static lists that survived leaving a world. In singleplayer, quitting during a nuke or an EMP and opening another world could keep modifying the old world, causing a memory leak and possible crashes.
- On server stop, any crater still being dug is now finished instantly before the world is saved, so you never get a half-dug crater.
- All static state is cleared afterwards.
- Pending delayed tasks are dropped.
- **EMP leaving redstone permanently off**
EMP fields were not saved. If the server stopped during an EMP, redstone stayed powered down forever because it never received the update that turns it back on.
- EMP fields are now saved per dimension (`missiles_emp`).
- After a restart, an interrupted EMP resumes with its remaining time, then restores redstone and Create machines normally.
- **Server freeze on nuclear detonations**
The whole crater was computed in a single tick. At high `nuclearScale`, a thermonuclear blast could scan over a million columns at once and freeze the server.
- Crater computation now runs ring by ring outward from ground zero, with a shared budget of 10 ms per tick.
- The shockwave never applies a block beyond what has already been computed, so the final crater is identical to before.
- At default settings there is no visible difference. At extreme scales, block destruction may trail slightly behind the shockwave instead of freezing the server.
This mod has no additional files