package shedar.mods.ic2.nuclearcontrol.crossmod.ic2classic;

import shedar.mods.ic2.nuclearcontrol.utils.NCLog;

public class CrossIndustrialCraft2Classic{
	private boolean isIC2ClassicOn;
	
	public CrossIndustrialCraft2Classic(){
		try{
			Class classicClass = Class.forName("ic2.api.info.IC2Classic");
			isIC2ClassicOn = true;
			NCLog.warn("IC2 Classic detected: issues may occur. Especially with Speiger's terrible indent style :P");
		}catch(ClassNotFoundException e){
			isIC2ClassicOn = false;
		}
	}
	
	public boolean isIc2ClassicOn(){
		return isIC2ClassicOn;
	}
}

@@ -158,26 +158,16 @@
 private 
-boolean is
 IC2Class
@@ -168,18 +168,25 @@
 2Classic
-On
+Type type
 ;%0A%09%0A%09pub
@@ -293,26 +293,31 @@
 assic%22);%0A%09%09%09
-is
+type = 
 IC2ClassicOn
@@ -318,17 +318,20 @@
 ssic
-On = true
+Type.SPEIGER
 ;%0A%09%09
@@ -480,98 +480,388 @@
 %0A%09%09%09
-isIC2ClassicOn = false;%0A%09%09%7D%0A%09%7D%0A%09%0A%09public boolean isIc2ClassicOn()%7B%0A%09%09return isIC2ClassicOn
+try%7B%0A%09%09%09%09Class classicClass = Class.forName(%22ic2classic.core.IC2%22);%0A%09%09%09%09type = IC2ClassicType.IMMIBIS;%0A%09%09%09%09NCLog.warn(%22IC2 Classic detected: issues may occur. Especially since Immibis %22%0A%09%09%09%09%09%09+ %22doesn't know how to created new packages :P%22);%0A%09%09%09%7Dcatch(ClassNotFoundException e1)%7B%0A%09%09%09%09type = IC2ClassicType.NONE;%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%09%0A%09public IC2ClassicType getClassicType()%7B%0A%09%09return type
 ;%0A%09%7D

Update CrossIndustrialCraft2Classic.java