Add some logging to places where version updates might not trigger.
This commit is contained in:
parent
6deb41e32d
commit
01ca3d6aad
@ -59,12 +59,14 @@ void OneSixUpdate::executeTask()
|
|||||||
}
|
}
|
||||||
if (m_inst->providesVersionFile() || !targetVersion->needsUpdate())
|
if (m_inst->providesVersionFile() || !targetVersion->needsUpdate())
|
||||||
{
|
{
|
||||||
|
QLOG_DEBUG() << "Instance either provides a version file or doesn't need an update.";
|
||||||
jarlibStart();
|
jarlibStart();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
versionUpdateTask = MMC->minecraftlist()->createUpdateTask(m_inst->intendedVersionId());
|
versionUpdateTask = MMC->minecraftlist()->createUpdateTask(m_inst->intendedVersionId());
|
||||||
if (!versionUpdateTask)
|
if (!versionUpdateTask)
|
||||||
{
|
{
|
||||||
|
QLOG_DEBUG() << "Didn't spawn an update task.";
|
||||||
jarlibStart();
|
jarlibStart();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user