From 419697a0c717030f6c0c8a797d30668e82b0a63b Mon Sep 17 00:00:00 2001 From: Johannes Lohrer Date: Sat, 11 Apr 2015 19:46:54 +0200 Subject: [PATCH] check for gt_api class, to prevent crash when using GT6 GT6 still beeing NOT supported! This is just to prevent crashing! --- src/main/scala/li/cil/oc/integration/Mods.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/li/cil/oc/integration/Mods.scala b/src/main/scala/li/cil/oc/integration/Mods.scala index 8e3200af6..49198bd73 100644 --- a/src/main/scala/li/cil/oc/integration/Mods.scala +++ b/src/main/scala/li/cil/oc/integration/Mods.scala @@ -40,7 +40,7 @@ object Mods { val Forestry = new SimpleMod(IDs.Forestry) val ForgeMultipart = new SimpleMod(IDs.ForgeMultipart) val Galacticraft = new SimpleMod(IDs.Galacticraft, providesPower = true) - val GregTech = new SimpleMod(IDs.GregTech) + val GregTech = new ClassBasedMod(IDs.GregTech,"gregtech.api.GregTech_API")() val IndustrialCraft2 = new SimpleMod(IDs.IndustrialCraft2, providesPower = true) val IndustrialCraft2Classic = new SimpleMod(IDs.IndustrialCraft2Classic, providesPower = true) val Mekanism = new SimpleMod(IDs.Mekanism, providesPower = true)