check for gt_api class, to prevent crash when using GT6

GT6 still beeing NOT supported! This is just to prevent crashing!
This commit is contained in:
Johannes Lohrer 2015-04-11 19:46:54 +02:00
parent 91bf2c79c2
commit 419697a0c7

View File

@ -40,7 +40,7 @@ object Mods {
val Forestry = new SimpleMod(IDs.Forestry) val Forestry = new SimpleMod(IDs.Forestry)
val ForgeMultipart = new SimpleMod(IDs.ForgeMultipart) val ForgeMultipart = new SimpleMod(IDs.ForgeMultipart)
val Galacticraft = new SimpleMod(IDs.Galacticraft, providesPower = true) 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 IndustrialCraft2 = new SimpleMod(IDs.IndustrialCraft2, providesPower = true)
val IndustrialCraft2Classic = new SimpleMod(IDs.IndustrialCraft2Classic, providesPower = true) val IndustrialCraft2Classic = new SimpleMod(IDs.IndustrialCraft2Classic, providesPower = true)
val Mekanism = new SimpleMod(IDs.Mekanism, providesPower = true) val Mekanism = new SimpleMod(IDs.Mekanism, providesPower = true)