Minor Refactor.

This commit is contained in:
AlgorithmX2
2014-07-23 13:55:48 -05:00
parent d9a747d26b
commit c5aabb1c34
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ public class TileCraftingTile extends AENetworkTile implements IAEMultiBlock, IP
if ( places.isEmpty() )
throw new RuntimeException( "No air or even the tile hat was destroyed?!?!" );
for (IAEItemStack ais : inv.getAvailableItems( new ItemList<IAEItemStack>( IAEItemStack.class ) ))
for (IAEItemStack ais : inv.getAvailableItems( AEApi.instance().storage().createItemList() ))
{
ais = ais.copy();
ais.setStackSize( ais.getItemStack().getMaxStackSize() );