Move Soul Forge to new recipe API
This commit is contained in:
parent
57591973a3
commit
80e7b50dde
3 changed files with 74 additions and 15 deletions
|
@ -186,8 +186,12 @@ public class BloodMagicRecipeRegistrar implements IBloodMagicRecipeRegistrar {
|
|||
continue;
|
||||
|
||||
for (int i = 0; i < input.size(); i++) {
|
||||
boolean matched = false;
|
||||
Ingredient ingredient = recipe.getInput().get(i);
|
||||
if (!ingredient.apply(input.get(i)))
|
||||
if (ingredient.apply(input.get(i)))
|
||||
matched = true;
|
||||
|
||||
if (!matched)
|
||||
continue mainLoop;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue