diff --git a/src/main/java/modtweaker/mods/forestry/handlers/Fermenter.java b/src/main/java/modtweaker/mods/forestry/handlers/Fermenter.java index 049f30c..b8c34dc 100644 --- a/src/main/java/modtweaker/mods/forestry/handlers/Fermenter.java +++ b/src/main/java/modtweaker/mods/forestry/handlers/Fermenter.java @@ -54,14 +54,16 @@ public class Fermenter { @Override public void apply() { - ArrayList recipes = RecipeManager.recipes; - for (Recipe r : recipes) { + ArrayList recipes = new ArrayList(); + for (Recipe r : RecipeManager.recipes) { if (r.resource != null && r.resource.isItemEqual(stack)) { - recipe = r; - RecipeManager.recipes.remove(recipe); + recipes.add(r); + } } - + for (Recipe r : recipes) { + RecipeManager.recipes.remove(r); + } } }