aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-08-23 15:24:55 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-08-23 15:24:55 +1000
commit7916998ff880b0f6440c5c5f042e7eab240047a2 (patch)
treeb778688421afebe015943eb1379ff995a04d00b0 /src/Java/gtPlusPlus/xmod/gregtech
parent26c13621113c3843d1a339d5600ee843bade3a28 (diff)
downloadGT5-Unofficial-7916998ff880b0f6440c5c5f042e7eab240047a2.tar.gz
GT5-Unofficial-7916998ff880b0f6440c5c5f042e7eab240047a2.tar.bz2
GT5-Unofficial-7916998ff880b0f6440c5c5f042e7eab240047a2.zip
% Shuffled some thing around in the proxies.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java b/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
index 0142934186..4a30c691b0 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
@@ -6,6 +6,7 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
+import cpw.mods.fml.common.event.FMLLoadCompleteEvent;
import gregtech.api.enums.Materials;
import gregtech.api.interfaces.IToolStats;
import gregtech.api.items.GT_MetaGenerated_Tool;
@@ -90,12 +91,15 @@ public class HANDLER_GT {
OldCircuitHandler.postInit();
}
- removeCrudeTurbineRotors();
//Register some custom recipe maps for any enabled multiblocks.
//MultiblockRecipeMapHandler.run();
}
+ public static void onLoadComplete(FMLLoadCompleteEvent event) {
+ removeCrudeTurbineRotors();
+ }
+
private static int removeCrudeTurbineRotors() {
int aRemoved = 0;
@@ -107,6 +111,7 @@ public class HANDLER_GT {
outputs: for (ItemStack aI : aG.mOutputs) {
if (aI.getItem() instanceof GT_MetaGenerated_Tool_01) {
int aMeta = aI.getItemDamage();
+ Logger.INFO("Found assembler recipe outputting a GT Tool with a meta value of "+aMeta);
if (aMeta >= 170 && aMeta <= 176) {
//Found a Turbine
int aCutoff = aMeta == 170 ? 75000 : (aMeta == 172 ? 150000 : (aMeta == 174 ? 225000 : 300000));