aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders/oreprocessing
diff options
context:
space:
mode:
authorMuramasa <haydenkilloh@gmail.com>2016-08-14 05:09:34 +0100
committerMuramasa <haydenkilloh@gmail.com>2016-08-14 05:09:34 +0100
commitb6032a3bd2965ad6e78da1c50d3f19f265eaf1b7 (patch)
treeaf8188eaef00e3e0e4a179d86207d0d8aaac5c73 /src/main/java/gregtech/loaders/oreprocessing
parent2bd06dc60e1db04bc9c672e0aa9769a12c289d8c (diff)
downloadGT5-Unofficial-b6032a3bd2965ad6e78da1c50d3f19f265eaf1b7.tar.gz
GT5-Unofficial-b6032a3bd2965ad6e78da1c50d3f19f265eaf1b7.tar.bz2
GT5-Unofficial-b6032a3bd2965ad6e78da1c50d3f19f265eaf1b7.zip
Bugfixes 4
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing')
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingOre.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingOre.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingOre.java
index b0b2604ba4..aa263bbdc7 100644
--- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingOre.java
+++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingOre.java
@@ -86,11 +86,11 @@ public class ProcessingOre implements gregtech.api.interfaces.IOreRecipeRegistra
if (tPrimaryByProductSmall == null) {
tPrimaryByProductSmall = tSmall;
}
- if (tSecondaryByMaterial == null) tSecondaryByMaterial = tPrimaryByMaterial;
- if (tSecondaryByProduct == null) tSecondaryByProduct = tPrimaryByProduct;
- if (tSecondaryByProductSmall == null) {
- tSecondaryByProductSmall = tPrimaryByProductSmall;
- }
+ //if (tSecondaryByMaterial == null) tSecondaryByMaterial = tPrimaryByMaterial;//dead code?
+ //if (tSecondaryByProduct == null) tSecondaryByProduct = tPrimaryByProduct;//dead code?
+ //if (tSecondaryByProductSmall == null) {
+ //tSecondaryByProductSmall = tPrimaryByProductSmall;//dead code?
+ //}
boolean tHasSmelting = false;
if (tSmeltInto != null) {
@@ -110,7 +110,9 @@ public class ProcessingOre implements gregtech.api.interfaces.IOreRecipeRegistra
}
if (!tHasSmelting) {
- tHasSmelting = GT_ModHandler.addSmeltingRecipe(aOreStack, GT_OreDictUnificator.get(OrePrefixes.gem, tMaterial.mDirectSmelting, Math.max(1, aMultiplier * aMaterial.mSmeltingMultiplier / 2)));
+ //dead code?
+ //tHasSmelting = GT_ModHandler.addSmeltingRecipe(aOreStack, GT_OreDictUnificator.get(OrePrefixes.gem, tMaterial.mDirectSmelting, Math.max(1, aMultiplier * aMaterial.mSmeltingMultiplier / 2)));
+ GT_ModHandler.addSmeltingRecipe(aOreStack, GT_OreDictUnificator.get(OrePrefixes.gem, tMaterial.mDirectSmelting, Math.max(1, aMultiplier * aMaterial.mSmeltingMultiplier / 2)));
}
if (tCrushed != null) {