Count pipe transfers on input not output side

This commit is contained in:
Blood-Asp 2016-09-27 18:11:19 +02:00 committed by Dream-Master
parent 1806dd0758
commit 1972ee4076

View file

@ -210,7 +210,7 @@ public class GT_MetaPipeEntity_Item extends MetaPipeEntity implements IMetaTileE
tPipeList.add(tTileEntity); tPipeList.add(tTileEntity);
while (!temp && !isInventoryEmpty() && tTileEntity.sendItemStack(aBaseMetaTileEntity)) while (!temp && !isInventoryEmpty() && tTileEntity.sendItemStack(aBaseMetaTileEntity))
for (IMetaTileEntityItemPipe tPipe : tPipeList) for (IMetaTileEntityItemPipe tPipe : tPipeList)
if (!tPipe.incrementTransferCounter(1)) temp = true; if (!tPipe.incrementTransferCounter(1)) temp = false;
} }
} }
} }