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
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "minecraft/VersionFile.h"
|
||||
#include "minecraft/Library.h"
|
||||
#include "minecraft/MinecraftProfile.h"
|
||||
#include "minecraft/ComponentList.h"
|
||||
#include "ParseUtils.h"
|
||||
|
||||
#include <Version.h>
|
||||
|
@ -15,7 +15,7 @@ static bool isMinecraftVersion(const QString &uid)
|
|||
return uid == "net.minecraft";
|
||||
}
|
||||
|
||||
void VersionFile::applyTo(MinecraftProfile *profile)
|
||||
void VersionFile::applyTo(ComponentList *profile)
|
||||
{
|
||||
// Only real Minecraft can set those. Don't let anything override them.
|
||||
if (isMinecraftVersion(uid))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue