Revert "Add Ore Dictionary support for Assembly Recipes"
This reverts commit 3d1815595b
.
This commit is contained in:
parent
3d1815595b
commit
e825066fd0
1 changed files with 0 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue