aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-07-29 18:03:24 +0100
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-07-29 18:03:24 +0100
commitfc196e2d117e3cc61e2d8c9324c83e8a53e27460 (patch)
tree800572000d53a3aea01148e7d1d43183b30a6add
parentafccf9fbf341db46d5f19e61150684ab0ab81e2e (diff)
downloadGT5-Unofficial-fc196e2d117e3cc61e2d8c9324c83e8a53e27460.tar.gz
GT5-Unofficial-fc196e2d117e3cc61e2d8c9324c83e8a53e27460.tar.bz2
GT5-Unofficial-fc196e2d117e3cc61e2d8c9324c83e8a53e27460.zip
% Moved Registration of Pyrotheum as a Tinker's Smeltery Fuel to Post-Init, may resolve #523.
-rw-r--r--src/Java/gtPlusPlus/xmod/tinkers/HANDLER_Tinkers.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Java/gtPlusPlus/xmod/tinkers/HANDLER_Tinkers.java b/src/Java/gtPlusPlus/xmod/tinkers/HANDLER_Tinkers.java
index 3b2bcba5dd..3c8d969fa3 100644
--- a/src/Java/gtPlusPlus/xmod/tinkers/HANDLER_Tinkers.java
+++ b/src/Java/gtPlusPlus/xmod/tinkers/HANDLER_Tinkers.java
@@ -24,19 +24,19 @@ public class HANDLER_Tinkers {
public static final void init() {
if (LoadedMods.TiCon) {
- //Migrate TiCon further back in the oreDict so that I never grab items from it.
- //TinkersUtils.stopTiconLoadingFirst();
- Fluid pyrotheumFluid = FluidRegistry.getFluid("pyrotheum");
- if (pyrotheumFluid != null) {
- //Enable Pyrotheum as Fuel for the Smeltery
- TinkersUtils.addSmelteryFuel(pyrotheumFluid, 5000, 70); // pyrotheum lasts 3.5 seconds per 15 mb
- }
+
}
}
public static final void postInit() {
if (LoadedMods.TiCon) {
+ Fluid pyrotheumFluid = FluidRegistry.getFluid("pyrotheum");
+ if (pyrotheumFluid != null) {
+ //Enable Pyrotheum as Fuel for the Smeltery
+ TinkersUtils.addSmelteryFuel(pyrotheumFluid, 5000, 70); // pyrotheum lasts 3.5 seconds per 15 mb
+ }
+
for (BaseTinkersMaterial y : mTinkerMaterials) {
//y.generate();
}