Website Recipe Update.

This commit is contained in:
AlgorithmX2
2014-07-15 12:02:12 -05:00
parent 8c0658d3de
commit 137549f8fa
4 changed files with 66 additions and 21 deletions
+14
View File
@@ -60,6 +60,20 @@ public class Shapeless implements ICraftHandler, IWebsiteSeralizer
@Override
public boolean canCraft(ItemStack reqOutput) throws RegistrationError, MissingIngredientError {
for ( int y = 0; y < inputs.size(); y++ )
{
IIngredient i = inputs.get(y);
if ( !i.isAir() )
{
for ( ItemStack r : i.getItemStackSet() )
{
if ( Platform.isSameItemPrecise( r, reqOutput) )
return false;
}
}
}
return Platform.isSameItemPrecise( output.getItemStack(),reqOutput );
}