Revert "Add Ore Dictionary support for Assembly Recipes"

This reverts commit 3d1815595b.
This commit is contained in:
Taelnia 2013-11-15 22:27:30 -05:00
parent 3d1815595b
commit e825066fd0

View file

@ -2,7 +2,6 @@ package buildcraft.api.recipes;
import java.util.LinkedList;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
public class AssemblyRecipe {
@ -36,16 +35,6 @@ public class AssemblyRecipe {
if (item.isItemEqual(in)) {
found += item.stackSize; // Adds quantity of stack to amount
// found
} else {
int oreID = OreDictionary.getOreID(in);
if (oreID >= 0) {
for (ItemStack oreItem : OreDictionary.getOres(oreID)) {
if(OreDictionary.itemMatches(oreItem, item, false)) {
found += item.stackSize;
break;
}
}
}
}
}