reduces overly strong type cast

This commit is contained in:
thatsIch
2015-05-09 00:00:52 +02:00
parent b8f22202d4
commit 7c9b734948
18 changed files with 48 additions and 39 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 );
}