mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
Fix for blathering idiots reporting GT-related crashes.
We now correctly add an entry to crash reports during enhancement if unsupported mod(s) are located.
This commit is contained in:
1 parent
0239151a4c
commit
9a6abc31f6
3 files changed
+45
-3
No files matched your search
@@ -23,12 +23,13 @@ import tconstruct.util.player.TPlayerHandler;
|
||||
import tconstruct.worldgen.*;
|
||||
import tconstruct.worldgen.village.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/** TConstruct, the tool mod.
|
||||
* Craft your tools with style, then modify until the original is gone!
|
||||
* @author: mDiyo
|
||||
* @dependencies: IC2 API, MFR API
|
||||
* @author mDiyo
|
||||
*/
|
||||
|
||||
@Mod(modid = "TConstruct", name = "TConstruct", version = "1.6.X_1.5.0d", dependencies = "required-after:Forge@[8.9,)")
|
||||
@@ -74,6 +75,14 @@ public class TConstruct
|
||||
else
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
||||
Reference in new issue
Block a user