More changes
This commit is contained in:
parent
9aaa65feb4
commit
d5ba110323
56 changed files with 1250 additions and 618 deletions
|
@ -104,7 +104,7 @@ public class AlchemyRecipe
|
|||
continue;
|
||||
}
|
||||
|
||||
if ((checkedItemStack.getItemDamage() == recipeItemStack.getItemDamage() || OreDictionary.WILDCARD_VALUE == recipeItemStack.getItemDamage()) && checkedItemStack.equals(recipeItemStack))
|
||||
if ((checkedItemStack.getItemDamage() == recipeItemStack.getItemDamage() || OreDictionary.WILDCARD_VALUE == recipeItemStack.getItemDamage()) && checkedItemStack.getItem()==recipeItemStack.getItem())
|
||||
{
|
||||
test = true;
|
||||
checkList[j] = true;
|
||||
|
@ -119,44 +119,6 @@ public class AlchemyRecipe
|
|||
}
|
||||
|
||||
return true;
|
||||
// if(slottedBloodOrbLevel<bloodOrbLevel)
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// if(items.length<5)
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// for(int i=0;i<5;i++)
|
||||
// {
|
||||
// ItemStack itemStackR = this.recipe[i];
|
||||
// ItemStack itemStackC = items[i];
|
||||
//
|
||||
// if(itemStackR==null&&itemStackC==null)
|
||||
// {
|
||||
// continue;
|
||||
// }
|
||||
//
|
||||
// if(itemStackR==null||itemStackC==null)
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
//
|
||||
// Item itemR = itemStackR.getItem();
|
||||
// Item itemC = itemStackC.getItem();
|
||||
//
|
||||
// if(itemR.equals(itemC))
|
||||
// {
|
||||
// continue;
|
||||
// }else
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// return true;
|
||||
}
|
||||
|
||||
public ItemStack getResult()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue