aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kubatech/CommonProxy.java
diff options
context:
space:
mode:
authorchochem <40274384+chochem@users.noreply.github.com>2024-08-16 12:32:00 +0100
committerGitHub <noreply@github.com>2024-08-16 12:32:00 +0100
commit07610983b13813893b482e2c1a050355fd007c60 (patch)
tree00149d17c86d4cfc52c4c231aeeeb63a7e0794f4 /src/main/java/kubatech/CommonProxy.java
parent54f98cd732f1ce1dc5a8a6ed69490a25d676c8b1 (diff)
downloadGT5-Unofficial-07610983b13813893b482e2c1a050355fd007c60.tar.gz
GT5-Unofficial-07610983b13813893b482e2c1a050355fd007c60.tar.bz2
GT5-Unofficial-07610983b13813893b482e2c1a050355fd007c60.zip
Move gt machine recipes to postload (#2902)
* move assembler and compresser recipes * move canner+extractor+packager * register MTEs in preload * move to init instead
Diffstat (limited to 'src/main/java/kubatech/CommonProxy.java')
-rw-r--r--src/main/java/kubatech/CommonProxy.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/kubatech/CommonProxy.java b/src/main/java/kubatech/CommonProxy.java
index ad66ad30af..51277e14d1 100644
--- a/src/main/java/kubatech/CommonProxy.java
+++ b/src/main/java/kubatech/CommonProxy.java
@@ -66,11 +66,13 @@ public class CommonProxy {
}
public void init(FMLInitializationEvent event) {
- if (MineTweaker.isModLoaded()) MTLoader.init();
+ RecipeLoader.registerMTEs(); // crashes in preinit because EIG references some blocks from other mods.
+ if (MineTweaker.isModLoaded()) {
+ MTLoader.init();
+ }
}
public void postInit(FMLPostInitializationEvent event) {
- RecipeLoader.registerMTEs();
RecipeLoader.addRecipes();
EIGBucketLoader.LoadEIGBuckets();
if (Thaumcraft.isModLoaded()) TCLoader.init();