Fixed #0198 - Can't Macerate Wheat into Flour.

This commit is contained in:
AlgorithmX2 2014-03-17 22:58:20 -05:00
parent 919b90ea41
commit b226b5bb49

View file

@ -119,7 +119,11 @@ public class Ingredient implements IIngredient
blk = GameRegistry.findBlock( nameSpace, "tile." + itemName ); blk = GameRegistry.findBlock( nameSpace, "tile." + itemName );
if ( blk != null ) if ( blk != null )
return new ItemStack( blk, qty, meta ); {
Item it = Item.getItemFromBlock( blk );
if ( it != null )
return new ItemStack( it, qty, meta );
}
Item it = GameRegistry.findItem( nameSpace, itemName ); Item it = GameRegistry.findItem( nameSpace, itemName );
if ( it == null ) if ( it == null )