again...
This commit is contained in:
parent
037af5364f
commit
2278ad1db2
1 changed files with 7 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue