Enable materials if coremod is loaded

This commit is contained in:
Technus 2017-05-06 09:38:14 +02:00
parent 65e0b3028e
commit 22a76ced74

View file

@ -6,7 +6,7 @@ import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
public class ProcessingModSupport implements gregtech.api.interfaces.IMaterialHandler {
public static boolean aTGregSupport = Loader.isModLoaded("TGregworks");
public static boolean aTGregSupport = Loader.isModLoaded("TGregworks") || Loader.isModLoaded("dreamcraft");
public static boolean aEnableUBCMats = Loader.isModLoaded("UndergroundBiomes") || aTGregSupport;
public static boolean aEnableThaumcraftMats = Loader.isModLoaded("Thaumcraft") || aTGregSupport;
public static boolean aEnableRotaryCraftMats = Loader.isModLoaded("RotaryCraft") || aTGregSupport;
@ -150,6 +150,6 @@ public class ProcessingModSupport implements gregtech.api.interfaces.IMaterialHa
@Override
public void onComponentIteration(Materials aMaterial) {
//NOOP
//NOP
}
}