package com.themastergeneral.ctdpaint;

import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.Logger;

import com.themastergeneral.ctdpaint.proxy.CommonProxy;

@Mod(modid = CTDPaint.MODID, name = CTDPaint.MODNAME, version = CTDPaint.VERSION, acceptedMinecraftVersions = CTDPaint.acceptedMinecraftVersions, updateJSON = CTDPaint.updateJSON, dependencies = CTDPaint.DEPENDENCIES)
public class CTDPaint {
	public static final String MODID = "ctdpaint";
	public static final String MODNAME = "CTD Paint";
	public static final String VERSION = "2.0.7";
	public static final String acceptedMinecraftVersions = "1.12.2";
	public static final String updateJSON = "https://github.com/MasterGeneral156/Version/blob/master/CTD-Paint.json";
	public static final String DEPENDENCIES = "required-after:ctdcore@[1.1.6,];";

	@Instance
	public static CTDPaint instance = new CTDPaint();

	public static Logger logger;

	@SidedProxy(clientSide = "com.themastergeneral.ctdpaint.proxy.ClientProxy", serverSide = "com.themastergeneral.ctdpaint.proxy.ServerProxy")
	public static CommonProxy proxy;
	public static VersionChecker versionChecker;
	public static boolean haveWarnedVersionOutOfDate;
	public static boolean moglowstoneloaded = Loader.isModLoaded("moglowstone");

	@EventHandler
	public void preInit(FMLPreInitializationEvent e) {
		logger = e.getModLog();
		logger.info("Starting CTD Paint.");
		proxy.preInit(e);
	}

	@EventHandler
	public void init(FMLInitializationEvent e) {
		proxy.init(e);
	}

	@EventHandler
	public void postInit(FMLPostInitializationEvent e) {
		proxy.postInit(e);
		logger.info("CTD Paint has loaded successfully.");
	}
}
@@ -1027,11 +1027,9 @@
  %222.
-0.7
+1
 %22;%0D%0A
@@ -1285,11 +1285,9 @@
 @%5B1.
-1.6
+2
 ,%5D;%22
@@ -1532,16 +1532,16 @@
 roxy%22)%0D%0A
+
 %09public 
@@ -1571,55 +1571,8 @@
 y;%0D%0A
-%09public static VersionChecker versionChecker;%0D%0A
 %09pub

Update CTD Core requirement to 1.2