# Custom Ore Gen โ€” 4.1 A hotfix release that removes developer-only diagnostics that could destabilise dedicated servers. **No gameplay changes** โ€” all ore generation, the Diamond Shard tier, the Deep Dark lock and mod compatibility are identical to 4.0. --- ## ๐Ÿ› Bug Fixes * **Removed world/server-corrupting code** โ€” Three developer-only diagnostic classes were accidentally shipped in 4.0. They have been removed entirely: * `OreAuditHandler` โ€” contained a `System.exit(0)` hard-kill that would terminate the server process, and forced chunk generation from a separate thread (a classic cause of chunk corruption). * `SpawnRelocator` โ€” forced synchronous chunk generation on the main server thread during startup, causing deadlocks and hang. * `GenerationStabilityTest` โ€” a GameTest utility that had no place in a release build. * None of these classes were referenced by any gameplay code; removing them has **zero impact** on how the mod plays. --- ## ๐Ÿ”„ Changes * Spawn-point behaviour reverts to vanilla (the removed `SpawnRelocator` no longer moves the spawn). Since the temperate band is 16,000 blocks wide, the vast majority of spawns still land in a balanced ore zone. --- ## โœ… Verification * No `System.exit`, `Runtime.halt`, forced chunk loading (`getChunkAt`/`getChunk`), manual threads or `setBlock` calls remain anywhere in the codebase. * Build and unit tests pass. --- **Full build:** Minecraft 1.21.1 ยท NeoForge 21.1.x ยท Lithosphere 1.7+ (required)