From 4648d8f4997963ac050f356b664a07caadd66587 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 17 Jul 2022 14:45:20 +0100 Subject: [PATCH] Deprecate loading a world with unresolved dependencies (#12541) Co-authored-by: sfan5 --- src/server.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server.cpp b/src/server.cpp index 6ca45f2d3..93767da9d 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -425,9 +425,14 @@ void Server::init() m_modmgr = std::make_unique(m_path_world); std::vector unsatisfied_mods = m_modmgr->getUnsatisfiedMods(); + // complain about mods with unsatisfied dependencies if (!m_modmgr->isConsistent()) { m_modmgr->printUnsatisfiedModsError(); + + warningstream + << "You have unsatisfied dependencies, loading your world anyway. " + << "This will become a fatal error in the future." << std::endl; } //lock environment