diff --git a/logic/updater/NotificationChecker.cpp b/logic/updater/NotificationChecker.cpp index 8540b5a1..40367eac 100644 --- a/logic/updater/NotificationChecker.cpp +++ b/logic/updater/NotificationChecker.cpp @@ -31,6 +31,13 @@ QList NotificationChecker::notificationE void NotificationChecker::checkForNotifications() { + if (!m_notificationsUrl.isValid()) + { + QLOG_ERROR() << "Failed to check for notifications. No notifications URL set." + << "If you'd like to use MultiMC's notification system, please pass the " + "URL to CMake at compile time."; + return; + } if (m_checkJob) { return;