From b53fb7c15af231b12c93c2319cc09063b7034a57 Mon Sep 17 00:00:00 2001 From: Tobias Wohlfarth Date: Wed, 7 Oct 2015 20:06:06 +0200 Subject: [PATCH] fix #244 : Metallurgy Crusher removeRecipe --- .../java/modtweaker2/mods/metallurgy/handlers/Crusher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/modtweaker2/mods/metallurgy/handlers/Crusher.java b/src/main/java/modtweaker2/mods/metallurgy/handlers/Crusher.java index 4ba5a7c..d966083 100644 --- a/src/main/java/modtweaker2/mods/metallurgy/handlers/Crusher.java +++ b/src/main/java/modtweaker2/mods/metallurgy/handlers/Crusher.java @@ -50,7 +50,7 @@ public class Crusher { @Override protected String getRecipeInfo(Entry recipe) { - return LogHelper.getStackDescription(recipe.getValue()); + return LogHelper.getStackDescription(stack); } } @@ -68,7 +68,7 @@ public class Crusher { public Remove(ItemStack stack) { super("Metallurgy Crusher", MetallurgyHelper.crusherMetaList); - map.put(MetallurgyHelper.getCrusherKey(stack), MetallurgyHelper.crusherMetaList.get(MetallurgyHelper.getCrusherKey(stack))); + recipes.put(MetallurgyHelper.getCrusherKey(stack), MetallurgyHelper.crusherMetaList.get(MetallurgyHelper.getCrusherKey(stack))); this.stack = stack; } @@ -90,7 +90,7 @@ public class Crusher { @Override protected String getRecipeInfo(Entry recipe) { - return LogHelper.getStackDescription(recipe.getValue()); + return LogHelper.getStackDescription(stack); } }