Fix crash if Thermal Expansion integration fails to load

This commit is contained in:
Justin Aquadro committed 2016-01-20 21:24:44 -05:00
1 parent 7c0daec960
commit 468438db9f
2 files changed
+6 -3

No files matched your search

@@ -11,9 +11,7 @@ import java.util.List;
public abstract class IntegrationModule
{
public String getModID () {
return null;
}
public abstract String getModID ();
public boolean versionCheck () {
String pattern = versionPattern();
@@ -29,6 +29,11 @@ public class ThermalExpansion extends IntegrationModule
static boolean initialized;
@Override
public String getModID () {
return MOD_ID;
}
@Override
public void init () throws Throwable {
clSawmillManager = Class.forName("cofh.thermalexpansion.util.crafting.SawmillManager");