mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-13 20:22:13 +00:00
Fix more stuff. Detached tools, only MCEdit for now.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#include "logic/profiler/JProfiler.h"
|
||||
#include "logic/profiler/JVisualVM.h"
|
||||
#include "logic/MCEditTool.h"
|
||||
|
||||
#include "pathutils.h"
|
||||
#include "cmdutils.h"
|
||||
@@ -223,6 +224,12 @@ MultiMC::MultiMC(int &argc, char **argv, bool root_override)
|
||||
{
|
||||
profiler->registerSettings(m_settings.get());
|
||||
}
|
||||
m_tools.insert("mcedit",
|
||||
std::shared_ptr<BaseDetachedToolFactory>(new MCEditFactory()));
|
||||
for (auto tool : m_tools.values())
|
||||
{
|
||||
tool->registerSettings(m_settings.get());
|
||||
}
|
||||
|
||||
// launch instance, if that's what should be done
|
||||
// WARNING: disabled until further notice
|
||||
|
||||
Reference in New Issue
Block a user