Permalink
Browse files

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.
  • Loading branch information...
peterix committed Oct 11, 2017
1 parent ab87064 commit fa5399683cafc6520c9c94bacce8d275c4b5b476
View
@@ -237,8 +237,8 @@ set(MINECRAFT_SOURCES
minecraft/GradleSpecifier.h
minecraft/MinecraftInstance.cpp
minecraft/MinecraftInstance.h
minecraft/MinecraftProfile.cpp
minecraft/MinecraftProfile.h
minecraft/ComponentList.cpp
minecraft/ComponentList.h
minecraft/MinecraftUpdate.h
minecraft/MinecraftUpdate.cpp
minecraft/MojangVersionFormat.cpp
@@ -11,7 +11,7 @@
// FIXME: this does not belong here, it's Minecraft/Flame specific
#include "minecraft/MinecraftInstance.h"
#include "minecraft/MinecraftProfile.h"
#include "minecraft/ComponentList.h"
#include "minecraft/flame/FileResolvingTask.h"
#include "minecraft/flame/PackManifest.h"
#include "Json.h"
@@ -293,7 +293,7 @@ void InstanceImportTask::processFlame()
qDebug() << info.fileName();
jarMods.push_back(info.absoluteFilePath());
}
auto profile = instance.getMinecraftProfile();
auto profile = instance.getComponentList();
profile->installJarMods(jarMods);
// nuke the original files
FS::deletePath(jarmodsPath);
@@ -18,7 +18,7 @@
#include <QDateTime>
#include "JsonFormat.h"
#include "minecraft/MinecraftProfile.h"
#include "minecraft/ComponentList.h"
Meta::Version::Version(const QString &uid, const QString &version)
: BaseVersion(), m_uid(uid), m_version(version)
Oops, something went wrong.

0 comments on commit fa53996

Please sign in to comment.