Fix #1061 Squeezer is very "liberal" regarding oredict in Recipes

This commit is contained in:
mezz committed 2016-02-28 23:39:55 -08:00
1 parent 010fe4662a
commit 98e13299d6
1 file changed
-8
@@ -70,20 +70,12 @@ public class SqueezerRecipeManager implements ISqueezerManager {
}
}
// First try to match a specific recipe (without OreDictionary)
for (ISqueezerRecipe recipe : recipes) {
if (ItemStackUtil.containsSets(recipe.getResources(), items, false, false) > 0) {
return recipe;
}
}
// If that fails - try again with OreDictionary support enabled
for (ISqueezerRecipe recipe : recipes) {
if (ItemStackUtil.containsSets(recipe.getResources(), items, true, false) > 0) {
return recipe;
}
}
return null;
}