mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 20:12:34 +00:00
Removed old plugin system and implemented some version list stuff.
This commit is contained in:
@@ -155,8 +155,8 @@ void MainWindow::on_actionAddInstance_triggered()
|
||||
QString instDir = PathCombine(globalSettings->get("InstanceDir").toString(),
|
||||
instDirName);
|
||||
|
||||
InstanceLoader::InstTypeError error = InstanceLoader::get().
|
||||
createInstance(newInstance, newInstDlg->selectedType(), instDir);
|
||||
InstanceLoader::InstLoaderError error = InstanceLoader::get().
|
||||
createInstance(newInstance, instDir);
|
||||
|
||||
if (error == InstanceLoader::NoError)
|
||||
{
|
||||
@@ -170,10 +170,6 @@ void MainWindow::on_actionAddInstance_triggered()
|
||||
|
||||
switch (error)
|
||||
{
|
||||
case InstanceLoader::TypeNotRegistered:
|
||||
errorMsg += "Instance type not found.";
|
||||
break;
|
||||
|
||||
case InstanceLoader::InstExists:
|
||||
errorMsg += "An instance with the given directory name already exists.";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user