Move Soul Forge to new recipe API

This commit is contained in:
Nicholas Ignoffo 2018-02-06 22:17:06 -08:00
parent 57591973a3
commit 80e7b50dde
3 changed files with 74 additions and 15 deletions

View file

@ -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;
}