package com.cjm721.overloaded;

import com.cjm721.overloaded.proxy.CommonProxy;
import net.minecraftforge.fml.common.Mod;
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;

@Mod(modid = Overloaded.MODID, version = Overloaded.VERSION,
        acceptedMinecraftVersions = "1.11.2",
        dependencies = "after:forge@[13.20.0.2266,)",
        useMetadata = true
        )
public class Overloaded {

    @Mod.Instance(Overloaded.MODID)
    public static Overloaded instance;

    public static final String MODID = "overloaded";
    public static final String VERSION = "${mod_version}";

    public static final String PROXY_CLIENT = "com.cjm721.overloaded.client.ClientProxy";
    public static final String PROXY_SERVER = "com.cjm721.overloaded.common.CommonProxy";

    @SidedProxy(clientSide = Overloaded.PROXY_CLIENT, serverSide = Overloaded.PROXY_SERVER)
    public static CommonProxy proxy;

    @Mod.EventHandler
    public void preInit(FMLPreInitializationEvent event) {
//        Configuration configuration = new Configuration(event.getSuggestedConfigurationFile());
//
//        if(configuration.hasChanged()) {
//            configuration.save();
//        }
        proxy.preInit(event);
    }

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

    @Mod.EventHandler
    public void postInit(FMLPostInitializationEvent event) {
        proxy.postInit(event);
    }
}

@@ -856,22 +856,21 @@
 rloaded.
-client
+proxy
 .ClientP
@@ -945,22 +945,21 @@
 rloaded.
-common
+proxy
 .CommonP
@@ -1110,32 +1110,32 @@
 od.EventHandler%0A
+
     public void 
@@ -1181,200 +1181,8 @@
 ) %7B%0A
-//        Configuration configuration = new Configuration(event.getSuggestedConfigurationFile());%0A//%0A//        if(configuration.hasChanged()) %7B%0A//            configuration.save();%0A//        %7D%0A
     

Fix Proxy bug