Fix more stuff. Detached tools, only MCEdit for now.
This commit is contained in:
parent
994972bf5d
commit
616c372690
17 changed files with 307 additions and 44 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue