Merge pull request #1426 from thatsIch/e-overly-strong-cast

reduces overly strong type cast
This commit is contained in:
thatsIch
2015-05-09 15:57:47 +02:00
18 changed files with 45 additions and 36 deletions
@@ -244,7 +244,7 @@ public class ShapedRecipe implements IRecipe, IRecipeBakeable
{
boolean matched = false;
for( ItemStack item : (ArrayList<ItemStack>) target )
for( ItemStack item : (Iterable<ItemStack>) target )
{
matched = matched || this.checkItemEquals( item, slot );
}