fix #244 : Metallurgy Crusher removeRecipe

This commit is contained in:
Tobias Wohlfarth committed 2015-10-07 20:08:12 +02:00
1 parent ac136bbb4c
commit b53fb7c15a
1 file changed
+3 -3
@@ -50,7 +50,7 @@ public class Crusher {
@Override
protected String getRecipeInfo(Entry<String, ItemStack> 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<String, ItemStack> recipe) {
return LogHelper.getStackDescription(recipe.getValue());
return LogHelper.getStackDescription(stack);
}
}