diff options
| author | Muramasa- <haydenkilloh@gmail.com> | 2016-08-22 22:50:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-22 22:50:58 +0100 |
| commit | ccfc536501e8133794ec2a0c5f2a589201af81d6 (patch) | |
| tree | c9f8c9af123f7fce7a942a2130973c51cfb3b65b /src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java | |
| parent | 0476a036352600b83133caf167ac5dee4b9b5176 (diff) | |
| parent | 5a94ea039ba265d966aaa7872aecb79a4851769d (diff) | |
| download | GT5-Unofficial-ccfc536501e8133794ec2a0c5f2a589201af81d6.tar.gz GT5-Unofficial-ccfc536501e8133794ec2a0c5f2a589201af81d6.tar.bz2 GT5-Unofficial-ccfc536501e8133794ec2a0c5f2a589201af81d6.zip | |
Merge pull request #603 from Muramasa-/Mats
Material Rework
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java')
| -rw-r--r-- | src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java index c2e28e969d..882495bc81 100644 --- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java +++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingGem.java @@ -40,15 +40,15 @@ public class ProcessingGem implements gregtech.api.interfaces.IOreRecipeRegistra } gregtech.api.util.GT_RecipeRegistrator.registerUsagesForMaterials(GT_Utility.copyAmount(1L, new Object[]{aStack}), OrePrefixes.plate.get(aMaterial).toString(), !aMaterial.contains(SubTag.NO_SMASHING)); - switch (aMaterial) { - case _NULL: + switch (aMaterial.mName) { + case "_NULL": break; - case Coal: - case Charcoal: + case "Coal": + case "Charcoal": if (gregtech.api.GregTech_API.sRecipeFile.get(gregtech.api.enums.ConfigCategories.Recipes.disabledrecipes, "torchesFromCoal", false)) GT_ModHandler.removeRecipe(new ItemStack[]{GT_Utility.copyAmount(1L, new Object[]{aStack}), null, null, new ItemStack(net.minecraft.init.Items.stick, 1, 0)}); break; - case CertusQuartz: + case "CertusQuartz": GT_Values.RA.addElectrolyzerRecipe(aStack, 0, GT_ModHandler.getModItem("appliedenergistics2", "item.ItemMultiMaterial", 1L, 1), null, null, null, null, null, 2000, 30); } } |
