package xyz.openmodloader;

import org.apache.commons.lang3.SystemUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import xyz.openmodloader.event.EventBus;
import xyz.openmodloader.launcher.OMLStrippableTransformer;
import xyz.openmodloader.launcher.strippable.Environment;
import xyz.openmodloader.modloader.ModLoader;
import xyz.openmodloader.modloader.Version;

public enum OpenModLoader {
    INSTANCE;

    private Version mcversion = new Version("1.10.0");
    private Version version = new Version("0.0.1-develop");
    private Logger logger = LogManager.getFormatterLogger("OpenModLoader");
    private EventBus eventBus = new EventBus();
    private ISidedHandler sidedHandler;

    public void minecraftConstruction(ISidedHandler sidedHandler) {
        this.sidedHandler = sidedHandler;
        getLogger().info("Loading OpenModLoader " + getVersion());
        getLogger().info("Running Minecraft %s on %s using Java %s", mcversion, SystemUtils.OS_NAME, SystemUtils.JAVA_VERSION);
        ModLoader.registerMods();
        getSidedHandler().onInitialize();
    }

    public Version getMinecraftVersion() {
        return mcversion;
    }

    public Version getVersion() {
        return version;
    }

    public Logger getLogger() {
        return logger;
    }

    public EventBus getEventBus() {
        return eventBus;
    }

    public ISidedHandler getSidedHandler() {
        return sidedHandler;
    }

    public Environment getEnvironment() {
        return OMLStrippableTransformer.getEnvironment();
    }
}

@@ -494,17 +494,17 @@
 n(%221.10.
-0
+2
 %22);%0A    

Fix MC version