small optimization to import/export busses

This commit is contained in:
PrototypeTrousers
2021-07-30 23:26:37 -03:00
parent e376e002e9
commit 6be96956a9
3 changed files with 7 additions and 4 deletions
@@ -180,7 +180,10 @@ public class PartExportBus extends PartSharedItemBus implements ICraftingRequest
}
else
{
this.pushItemIntoTarget( destination, energy, inv, ais );
if( inv.getStorageList().findPrecise( ais ) != null )
{
this.pushItemIntoTarget( destination, energy, inv, ais );
}
}
if( this.itemToSend == before && this.isCraftingEnabled() )