Made sure the metadata is valid when checking mod deps
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
ffcc58cb3e
commit
94cd831e8d
@ -57,7 +57,8 @@ GetModDependenciesTask::GetModDependenciesTask(QObject* parent,
|
|||||||
, m_loaderType(mcLoaders(instance))
|
, m_loaderType(mcLoaders(instance))
|
||||||
{
|
{
|
||||||
for (auto mod : folder->allMods())
|
for (auto mod : folder->allMods())
|
||||||
m_mods.append(mod->metadata());
|
if (auto meta = mod->metadata(); meta)
|
||||||
|
m_mods.append(meta);
|
||||||
prepare();
|
prepare();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user