NOISSUE rename ComponentList to PackProfile
It's not just components, so the naming needed cleaning up.
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
#include "minecraft/OpSys.h"
|
||||
#include "FileSystem.h"
|
||||
#include "minecraft/MinecraftInstance.h"
|
||||
#include "minecraft/ComponentList.h"
|
||||
#include "minecraft/PackProfile.h"
|
||||
|
||||
void ModMinecraftJar::executeTask()
|
||||
{
|
||||
@ -43,7 +43,7 @@ void ModMinecraftJar::executeTask()
|
||||
}
|
||||
|
||||
// create temporary modded jar, if needed
|
||||
auto components = m_inst->getComponentList();
|
||||
auto components = m_inst->getPackProfile();
|
||||
auto profile = components->getProfile();
|
||||
auto jarMods = m_inst->getJarMods();
|
||||
if(jarMods.size())
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#include "ReconstructAssets.h"
|
||||
#include "minecraft/MinecraftInstance.h"
|
||||
#include "minecraft/ComponentList.h"
|
||||
#include "minecraft/PackProfile.h"
|
||||
#include "minecraft/AssetsUtils.h"
|
||||
#include "launch/LaunchTask.h"
|
||||
|
||||
@ -23,7 +23,7 @@ void ReconstructAssets::executeTask()
|
||||
{
|
||||
auto instance = m_parent->instance();
|
||||
std::shared_ptr<MinecraftInstance> minecraftInstance = std::dynamic_pointer_cast<MinecraftInstance>(instance);
|
||||
auto components = minecraftInstance->getComponentList();
|
||||
auto components = minecraftInstance->getPackProfile();
|
||||
auto profile = components->getProfile();
|
||||
auto assets = profile->getMinecraftAssets();
|
||||
|
||||
|
Reference in New Issue
Block a user