This commit is contained in:
Shadows_of_Fire 2018-06-22 22:24:32 -04:00
parent 9d5a949d27
commit 00c0c507ca

View file

@ -67,7 +67,8 @@ public final class CrusherRecipeRegistry{
ArrayList<CrusherRecipe> removed = new ArrayList<>();
for(CrusherRecipe r : ActuallyAdditionsAPI.CRUSHER_RECIPES) {
boolean canUse = true;
for(CrusherRecipe re : usable) {
if(r.getInput().getMatchingStacks().length == 0) canUse = false;
else for(CrusherRecipe re : usable) {
if(re.getInput().apply(r.getInput().getMatchingStacks()[0])) canUse = false;
}