Add missing wildcard check for altar recipes

This commit is contained in:
Nicholas Ignoffo 2016-10-22 16:06:48 -07:00
parent 5e1c791908
commit 62f3847d88

View file

@ -159,10 +159,14 @@ public class AltarRecipeRegistry
if (tierCheck.ordinal() < minTier.ordinal())
return false;
for (ItemStackWrapper stack : input)
for (ItemStackWrapper stack : input) {
if (comparedStack.isItemEqual(stack.toStack()))
return true;
if (comparedStack.getItem() == stack.item && stack.meta == OreDictionary.WILDCARD_VALUE)
return true;
}
return false;
}
}