This commit is contained in:
jaredlll08 2015-02-06 17:31:06 +02:00
parent 037af5364f
commit 2278ad1db2

View file

@ -54,14 +54,16 @@ public class Fermenter {
@Override
public void apply() {
ArrayList<Recipe> recipes = RecipeManager.recipes;
for (Recipe r : recipes) {
ArrayList<Recipe> recipes = new ArrayList<Recipe>();
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);
}
}
}