From cae4aad955c2ad8649992cf2a6ab1a999d78f107 Mon Sep 17 00:00:00 2001 From: Modmuss50 Date: Wed, 14 Oct 2015 13:27:43 +0100 Subject: [PATCH] fixes #189 --- src/main/java/techreborn/compat/minetweaker/MTCentrifuge.java | 2 +- src/main/java/techreborn/compat/recipes/RecipesIC2.java | 2 +- src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/techreborn/compat/minetweaker/MTCentrifuge.java b/src/main/java/techreborn/compat/minetweaker/MTCentrifuge.java index deb073e07..05ee497ba 100644 --- a/src/main/java/techreborn/compat/minetweaker/MTCentrifuge.java +++ b/src/main/java/techreborn/compat/minetweaker/MTCentrifuge.java @@ -83,7 +83,7 @@ public class MTCentrifuge { public void apply() { for(IBaseRecipeType recipeType : RecipeHandler.getRecipeClassFromName(Reference.centrifugeRecipe)){ - for(ItemStack stack : recipeType.getOutputs()){ + for(ItemStack stack : recipeType.getInputs()){//TODO might not be the right way to do this if(ItemUtils.isItemEqual(stack, output, true, false)){ removedRecipes.add((CentrifugeRecipe) recipeType); RecipeHandler.recipeList.remove(recipeType); diff --git a/src/main/java/techreborn/compat/recipes/RecipesIC2.java b/src/main/java/techreborn/compat/recipes/RecipesIC2.java index 242441b9f..aba52cd10 100644 --- a/src/main/java/techreborn/compat/recipes/RecipesIC2.java +++ b/src/main/java/techreborn/compat/recipes/RecipesIC2.java @@ -438,7 +438,7 @@ public class RecipesIC2 implements ICompatModule { //Lava Cell Byproducts ItemStack lavaCells = IC2Items.getItem("lavaCell"); lavaCells.stackSize = 8; - RecipeHandler.addRecipe(new CentrifugeRecipe(lavaCells, null, ItemNuggets.getNuggetByName("electrum", 4), ItemIngots.getIngotByName("copper", 2), ItemDustsSmall.getSmallDustByName("Tungsten", 1), ItemIngots.getIngotByName("tin", 17), 6000, 5)); + RecipeHandler.addRecipe(new CentrifugeRecipe(lavaCells, null, ItemNuggets.getNuggetByName("electrum", 4), ItemIngots.getIngotByName("copper", 2), ItemDustsSmall.getSmallDustByName("Tungsten", 1), ItemIngots.getIngotByName("tin", 2), 6000, 5)); //IndustrialGrinderRecipes RecipeHandler.addRecipe(new GrinderRecipe(new ItemStack(Blocks.coal_ore, 1), IC2Items.getItem("waterCell"), null, new ItemStack(Items.coal, 1), ItemDustsSmall.getSmallDustByName("Coal", 6), ItemDustsSmall.getSmallDustByName("Coal", 2), IC2Items.getItem("cell"), 100, 120)); diff --git a/src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java b/src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java index dc51f0c0c..a5b8477ea 100644 --- a/src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java +++ b/src/main/java/techreborn/compat/recipes/RecipesIC2Classic.java @@ -430,7 +430,7 @@ public class RecipesIC2Classic implements ICompatModule { //Lava Cell Byproducts ItemStack lavaCells = IC2Items.getItem("lavaCell"); lavaCells.stackSize = 8; - RecipeHandler.addRecipe(new CentrifugeRecipe(lavaCells, null, ItemNuggets.getNuggetByName("electrum", 4), ItemIngots.getIngotByName("copper", 2), ItemDustsSmall.getSmallDustByName("Tungsten", 1), ItemIngots.getIngotByName("tin", 17), 6000, 5)); + RecipeHandler.addRecipe(new CentrifugeRecipe(lavaCells, null, ItemNuggets.getNuggetByName("electrum", 4), ItemIngots.getIngotByName("copper", 2), ItemDustsSmall.getSmallDustByName("Tungsten", 1), ItemIngots.getIngotByName("tin", 2), 6000, 5)); //IndustrialGrinderRecipes RecipeHandler.addRecipe(new GrinderRecipe(new ItemStack(Blocks.coal_ore, 1), IC2Items.getItem("waterCell"), null, new ItemStack(Items.coal, 1), ItemDustsSmall.getSmallDustByName("Coal", 6), ItemDustsSmall.getSmallDustByName("Coal", 2), IC2Items.getItem("cell"), 100, 120));