}
}
}
}
}
FluidLogisticsPromise promise = new FluidLogisticsPromise();
promise.liquid = request.getFluid();
promise.amount = Math.min(request.amountLeft(), containedAmount - donePromises);
promise.sender = this;
if(promise.amount > 0) {
request.addPromise(promise);