Please find ways to prevent resources from being infinite that do actions when depleted:
https://mods.factorio.com/mod/Subsurface/discussion/67cc50f7d2dc38397728a67f
- Either hard-code these resources ("subsurface-hole" in my case) to your blacklist or make your blacklist accessible to all mods
- Or do your logic in data-updates.lua