reduces overly strong type cast
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user