Squirrel away env checks to new helper

This commit is contained in:
Sunstrike committed 2013-10-22 20:09:21 +01:00
1 parent 9a6abc31f6
commit dcfcc3e7c5
2 files changed
+28 -7

No files matched your search

+1 -7
View File
@@ -76,13 +76,7 @@ public class TConstruct
TConstruct.logger.info("[TConstruct] Preparing to take over the world");
}
if (Loader.isModLoaded("gregtech_addon")) {
List<String> modIds = new ArrayList<String>();
modIds.add("gregtech_addon");
ICrashCallable callable = new CallableUnsuppConfig(modIds);
FMLCommonHandler.instance().registerCrashCallable(callable);
}
EnvironmentChecks.verifyEnvironmentSanity();
}
@EventHandler