NOISSUE rename MinecraftProfile to ComponentList
It is realistically a list of components. The fact that it also holds the final launch parameters is a design bug.
This commit is contained in:
parent
87edaa7dcd
commit
fede712a26
21 changed files with 120 additions and 120 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "Env.h"
|
||||
#include "LibrariesTask.h"
|
||||
#include "minecraft/MinecraftInstance.h"
|
||||
#include "minecraft/MinecraftProfile.h"
|
||||
#include "minecraft/ComponentList.h"
|
||||
|
||||
LibrariesTask::LibrariesTask(MinecraftInstance * inst)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ void LibrariesTask::executeTask()
|
|||
}
|
||||
|
||||
// Build a list of URLs that will need to be downloaded.
|
||||
std::shared_ptr<MinecraftProfile> profile = inst->getMinecraftProfile();
|
||||
std::shared_ptr<ComponentList> profile = inst->getComponentList();
|
||||
|
||||
auto job = new NetJob(tr("Libraries for instance %1").arg(inst->name()));
|
||||
downloadJob.reset(job);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue