From 245d441a6eee558557a01d61a726b7feaeb5dc17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 22 Dec 2013 05:15:26 +0100 Subject: [PATCH] Fail if we fail to find the right forge version --- logic/OneSixFTBInstance.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/logic/OneSixFTBInstance.cpp b/logic/OneSixFTBInstance.cpp index 0090c1d8..924fc790 100644 --- a/logic/OneSixFTBInstance.cpp +++ b/logic/OneSixFTBInstance.cpp @@ -27,7 +27,10 @@ public: } } if (!forgeVersion) + { + emitFailed(QString("Couldn't find forge version ") + version ); return; + } entry = MMC->metacache()->resolveEntry("minecraftforge", forgeVersion->filename); if (entry->stale) {