In main class:
@SidedProxy(clientSide = "com.dimacrafter.cilivization.proxy.ClientProxy", serverSide = "com.dimacrafter.cilivization.proxy.CommonProxy")
public static CommonProxy proxy;
Warning:
'net.minecraftforge.fml.common.SidedProxy' is deprecated
This inspection reports where deprecated code is used in the specified inspection scope
Minecraft Client is crashed before mod pre-initialization. How fix it?
 
                        
@Deprecatedmeans that something is there, but you have to expect that someday it will be gone -> it works for now.The warning says that
@SidedProxyfalls under this condition, but the documentation should (if it is any good) give you a hint to a replacement.