Fix #738
This commit is contained in:
parent
7aace619df
commit
0a2e878b88
3 changed files with 4 additions and 5 deletions
|
@ -62,7 +62,7 @@ configurations {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
version = "1.4.1"
|
version = "1.4.2"
|
||||||
|
|
||||||
def ENV = System.getenv()
|
def ENV = System.getenv()
|
||||||
if (ENV.BUILD_NUMBER) {
|
if (ENV.BUILD_NUMBER) {
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
package techreborn;
|
package techreborn;
|
||||||
|
|
||||||
import ic2.api.info.Info;
|
|
||||||
import net.minecraft.block.BlockDispenser;
|
import net.minecraft.block.BlockDispenser;
|
||||||
import net.minecraftforge.common.MinecraftForge;
|
import net.minecraftforge.common.MinecraftForge;
|
||||||
import net.minecraftforge.fluids.FluidRegistry;
|
import net.minecraftforge.fluids.FluidRegistry;
|
||||||
import net.minecraftforge.fml.client.event.ConfigChangedEvent;
|
import net.minecraftforge.fml.client.event.ConfigChangedEvent;
|
||||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||||
|
import net.minecraftforge.fml.common.Loader;
|
||||||
import net.minecraftforge.fml.common.Mod;
|
import net.minecraftforge.fml.common.Mod;
|
||||||
import net.minecraftforge.fml.common.SidedProxy;
|
import net.minecraftforge.fml.common.SidedProxy;
|
||||||
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||||
|
@ -85,7 +85,7 @@ public class Core {
|
||||||
|
|
||||||
TechRebornAPI.subItemRetriever = new SubItemRetriever();
|
TechRebornAPI.subItemRetriever = new SubItemRetriever();
|
||||||
//Recheck here because things break at times
|
//Recheck here because things break at times
|
||||||
CompatManager.isIC2Loaded = Info.isIc2Available();
|
CompatManager.isIC2Loaded = Loader.isModLoaded("IC2");
|
||||||
|
|
||||||
for (ICompatModule compatModule : CompatManager.INSTANCE.compatModules) {
|
for (ICompatModule compatModule : CompatManager.INSTANCE.compatModules) {
|
||||||
compatModule.preInit(event);
|
compatModule.preInit(event);
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package techreborn.compat;
|
package techreborn.compat;
|
||||||
|
|
||||||
import ic2.api.info.Info;
|
|
||||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||||
import net.minecraftforge.fml.common.Loader;
|
import net.minecraftforge.fml.common.Loader;
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
|
@ -26,7 +25,7 @@ public class CompatManager
|
||||||
|
|
||||||
public CompatManager()
|
public CompatManager()
|
||||||
{
|
{
|
||||||
isIC2Loaded = Info.isIc2Available();
|
isIC2Loaded = Loader.isModLoaded("IC2");
|
||||||
registerCompact(MinetweakerCompat.class, "MineTweaker3");
|
registerCompact(MinetweakerCompat.class, "MineTweaker3");
|
||||||
registerCompact(TechRebornParts.class, "reborncore-mcmultipart");
|
registerCompact(TechRebornParts.class, "reborncore-mcmultipart");
|
||||||
registerCompact(ClientPartLoader.class, "reborncore-mcmultipart", "@client");
|
registerCompact(ClientPartLoader.class, "reborncore-mcmultipart", "@client");
|
||||||
|
|
Loading…
Reference in a new issue