diff options
author | chochem <40274384+chochem@users.noreply.github.com> | 2024-08-16 12:32:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 12:32:00 +0100 |
commit | 07610983b13813893b482e2c1a050355fd007c60 (patch) | |
tree | 00149d17c86d4cfc52c4c231aeeeb63a7e0794f4 /src/main/java/kubatech/CommonProxy.java | |
parent | 54f98cd732f1ce1dc5a8a6ed69490a25d676c8b1 (diff) | |
download | GT5-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.java | 6 |
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(); |