diff --git a/mod-director-core/src/main/java/net/jan/moddirector/core/ModDirector.java b/mod-director-core/src/main/java/net/jan/moddirector/core/ModDirector.java index a2a13ad..2142c5e 100644 --- a/mod-director-core/src/main/java/net/jan/moddirector/core/ModDirector.java +++ b/mod-director-core/src/main/java/net/jan/moddirector/core/ModDirector.java @@ -18,6 +18,7 @@ import net.jan.moddirector.core.ui.page.ProgressPage; import net.jan.moddirector.core.util.WebClient; import net.jan.moddirector.core.util.WebGetResponse; +import net.minecraftforge.fml.exit.QualifiedExit; import java.io.BufferedReader; import java.io.IOException; @@ -240,7 +241,7 @@ public void errorExit() { }); logger.log(ModDirectorSeverityLevel.ERROR, "ModDirector", "CORE", "============================================================"); - System.exit(1); + QualifiedExit.exit(1); } private void awaitAll(List> futures) throws InterruptedException {