aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceList.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-21 22:30:44 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-02-21 22:30:44 +0100
commita70d1f1a9184a9f0506c439be1009e5ba3c77b5b (patch)
tree52c1b15e0f2c976df1cc40e5656108d09a7f6606 /launcher/InstanceList.cpp
parent3059f130114a542f9a28ac7b665cc844ee90b03d (diff)
downloadPrismLauncher-a70d1f1a9184a9f0506c439be1009e5ba3c77b5b.tar.gz
PrismLauncher-a70d1f1a9184a9f0506c439be1009e5ba3c77b5b.tar.bz2
PrismLauncher-a70d1f1a9184a9f0506c439be1009e5ba3c77b5b.zip
refactor: drop LegacyInstance
Diffstat (limited to 'launcher/InstanceList.cpp')
-rw-r--r--launcher/InstanceList.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/launcher/InstanceList.cpp b/launcher/InstanceList.cpp
index ad18740b..5637983b 100644
--- a/launcher/InstanceList.cpp
+++ b/launcher/InstanceList.cpp
@@ -32,7 +32,6 @@
#include "BaseInstance.h"
#include "InstanceTask.h"
#include "settings/INISettingsObject.h"
-#include "minecraft/legacy/LegacyInstance.h"
#include "NullInstance.h"
#include "minecraft/MinecraftInstance.h"
#include "FileSystem.h"
@@ -553,10 +552,6 @@ InstancePtr InstanceList::loadInstance(const InstanceId& id)
{
inst.reset(new MinecraftInstance(m_globalSettings, instanceSettings, instanceRoot));
}
- else if (inst_type == "Legacy")
- {
- inst.reset(new LegacyInstance(m_globalSettings, instanceSettings, instanceRoot));
- }
else
{
inst.reset(new NullInstance(m_globalSettings, instanceSettings, instanceRoot));