diff options
author | rubenwardy <rw@rubenwardy.com> | 2022-07-17 14:45:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-17 14:45:20 +0100 |
commit | 4648d8f4997963ac050f356b664a07caadd66587 (patch) | |
tree | 8df98074ed6c8a434eca662cf1dab095a4163425 /src | |
parent | 5cc7329717e138ab4e6aae5182018146039fd0b8 (diff) | |
download | minetest-4648d8f4997963ac050f356b664a07caadd66587.tar.gz minetest-4648d8f4997963ac050f356b664a07caadd66587.tar.bz2 minetest-4648d8f4997963ac050f356b664a07caadd66587.zip |
Deprecate loading a world with unresolved dependencies (#12541)
Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<ServerModManager>(m_path_world); std::vector<ModSpec> 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 |