Ejemplo n.º 1
0
        public MinecraftInstance()
        {
            m_path = new MinecraftPaths();
            m_jar = new MinecraftJar(m_path.jarPath);
            m_jar.TempPath = m_path.tempDir;
            CompressedFile.defaultTempDir = m_path.tempDir;
            m_config = new ModConfig(m_path);

            //fsWatcher = new FileSystemWatcher(m_path.appModDir);
            //fsWatcher.Changed += new FileSystemEventHandler(fsWatcher_Changed);
            InitInstance();
            addAllMods();
            pruneConfig();
        }
Ejemplo n.º 2
0
        public MinecraftInstance()
        {
            m_path         = new MinecraftPaths();
            m_jar          = new MinecraftJar(m_path.jarPath);
            m_jar.TempPath = m_path.tempDir;
            CompressedFile.defaultTempDir = m_path.tempDir;
            m_config = new ModConfig(m_path);

            //fsWatcher = new FileSystemWatcher(m_path.appModDir);
            //fsWatcher.Changed += new FileSystemEventHandler(fsWatcher_Changed);
            InitInstance();
            addAllMods();
            pruneConfig();
        }