diff options
author | rubenwardy <rw@rubenwardy.com> | 2022-08-19 12:31:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 12:31:36 +0100 |
commit | 2d10fa786792a27adb4097abe8c92f36cf47e6ce (patch) | |
tree | 82981f63a026156ccdee66dc8650d6eea52157df /src/client/client.cpp | |
parent | 8c29c4f620a45385ac4e906c1f50d1df7d1edba9 (diff) | |
download | minetest-2d10fa786792a27adb4097abe8c92f36cf47e6ce.tar.xz |
Prevent loading a world with unresolved dependencies (#12542)
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r-- | src/client/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index b7d1cbfe0..35634e77b 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -213,9 +213,10 @@ void Client::loadMods() } m_mods = modconf.getMods(); + // complain about mods with unsatisfied dependencies if (!modconf.isConsistent()) { - modconf.printUnsatisfiedModsError(); + errorstream << modconf.getUnsatisfiedModsError() << std::endl; return; } |