If the item is somehow corrupted on reversal it will be discarded instead of ignored.

This commit is contained in:
CovertJaguar 2012-10-18 18:09:16 -07:00
parent 47d2cc68de
commit 744c3d63da

View file

@ -122,6 +122,8 @@ public class PipeTransportItems extends PipeTransport {
// stage, avoid adding it to the pipe to avoid further exceptions.
return;
unscheduleRemoval(data.item);
data.toCenter = true;
data.input = data.output.reverse();
@ -300,7 +302,6 @@ public class PipeTransportItems extends PipeTransport {
data.item.getItemStack().stackSize -= added.stackSize;
if(data.item.getItemStack().stackSize > 0) {
unscheduleRemoval(data.item);
reverseItem(data);
}
}