From e118b1f9901d8d006dbe268b4b4047de27e4531d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 19 May 2014 02:22:09 +0200 Subject: Implement adding jar mods, break saving library order. --- logic/minecraft/MinecraftVersion.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'logic/minecraft/MinecraftVersion.cpp') diff --git a/logic/minecraft/MinecraftVersion.cpp b/logic/minecraft/MinecraftVersion.cpp index 21cdbacc..488a180a 100644 --- a/logic/minecraft/MinecraftVersion.cpp +++ b/logic/minecraft/MinecraftVersion.cpp @@ -1,5 +1,5 @@ #include "MinecraftVersion.h" -#include "VersionFinal.h" +#include "InstanceVersion.h" #include "VersionBuildError.h" #include "VersionBuilder.h" @@ -54,7 +54,7 @@ bool MinecraftVersion::isMinecraftVersion() // 1. assume the local file is good. load, check. If it's good, apply. // 2. if discrepancies are found, fall out and fail (impossible to apply incomplete version). -void MinecraftVersion::applyFileTo(VersionFinal *version) +void MinecraftVersion::applyFileTo(InstanceVersion *version) { QFileInfo versionFile(QString("versions/%1/%1.dat").arg(m_descriptor)); @@ -62,7 +62,7 @@ void MinecraftVersion::applyFileTo(VersionFinal *version) versionObj->applyTo(version); } -void MinecraftVersion::applyTo(VersionFinal *version) +void MinecraftVersion::applyTo(InstanceVersion *version) { // do we have this one cached? if (m_versionSource == Local) -- cgit v1.2.3