public void onMultiblockServerTick() {
// Try to pump steam out, if an outlet
if(pumpDestination == null || isInlet())
return;
CoolantContainer cc = getReactorController().getCoolantContainer();
FluidStack fluidToDrain = cc.drain(CoolantContainer.HOT, cc.getCapacity(), false);
if(fluidToDrain != null && fluidToDrain.amount > 0)
{
fluidToDrain.amount = pumpDestination.fill(getOutwardsDir().getOpposite(), fluidToDrain, true);
cc.drain(CoolantContainer.HOT, fluidToDrain, true);
}
}