switch to extractable instead of cached item list

This commit is contained in:
PrototypeTrousers
2022-02-28 23:16:13 -03:00
parent 0ed0eb9d5f
commit 056fcc3818
@@ -139,14 +139,7 @@ public class MECraftingInventory implements IMEInventory<IAEItemStack>
this.localCache = new ItemListIgnoreCrafting<>( AEApi.instance().storage().getStorageChannel( IItemStorageChannel.class ).createList() );
for( final IAEItemStack is : target.getStorageList() )
{
if( src.player().isPresent() )
{
this.localCache.add( target.extractItems( is, Actionable.SIMULATE, src ) );
}
else
{
this.localCache.add( is );
}
this.localCache.add( target.extractItems( is, Actionable.SIMULATE, src ) );
}
this.par = null;