diff options
author | Petr Mrázek <peterix@gmail.com> | 2020-06-27 12:02:31 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-06-27 12:02:31 +0200 |
commit | a0ef20a264656c127dd62eb9140e89a2fda6a8e0 (patch) | |
tree | 43b9262f501e9ec835939ec50cc23473e661b291 /api/logic/minecraft/launch/ReconstructAssets.cpp | |
parent | 4ca62916f562ca2d233d0fb4771054a106f1afc3 (diff) | |
download | PrismLauncher-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.gz PrismLauncher-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.bz2 PrismLauncher-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.zip |
NOISSUE rename ComponentList to PackProfile
It's not just components, so the naming needed cleaning up.
Diffstat (limited to 'api/logic/minecraft/launch/ReconstructAssets.cpp')
-rw-r--r-- | api/logic/minecraft/launch/ReconstructAssets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/minecraft/launch/ReconstructAssets.cpp b/api/logic/minecraft/launch/ReconstructAssets.cpp index af9af127..3ac320bd 100644 --- a/api/logic/minecraft/launch/ReconstructAssets.cpp +++ b/api/logic/minecraft/launch/ReconstructAssets.cpp @@ -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(); |