Fix Fluid Sandstone Pipe

Closes #1026
This commit is contained in:
CovertJaguar 2013-07-24 01:02:07 -07:00
parent 9150c673a5
commit 1f80338819
3 changed files with 2 additions and 3 deletions

View file

@ -141,7 +141,7 @@ public class PipeTransportFluids extends PipeTransport implements IFluidHandler
public short travelDelay = 12;
public short flowRate = 10;
public FluidStack[] renderCache = new FluidStack[orientations.length];
private final PipeSection[] internalTanks = new PipeSection[orientations.length];
public final PipeSection[] internalTanks = new PipeSection[orientations.length];
private final TransferState[] transferState = new TransferState[directions.length];
private final int[] inputPerTick = new int[directions.length];
private final short[] inputTTL = new short[]{0, 0, 0, 0, 0, 0};

View file

@ -21,7 +21,6 @@ import buildcraft.api.transport.IPipe;
import buildcraft.api.transport.IPipeConnection;
import buildcraft.api.transport.IPipeEntry;
import buildcraft.api.transport.IPipeTile;
import buildcraft.api.transport.IPipedItem;
import buildcraft.api.transport.ISolidSideTile;
import buildcraft.core.DefaultProps;
import buildcraft.core.EntityPassiveItem;

View file

@ -42,7 +42,7 @@ public class PipeFluidsSandstone extends Pipe implements IPipeTransportFluidsHoo
if (!(container.getTile(from) instanceof TileGenericPipe))
return 0;
return ((PipeTransportFluids) this.transport).fill(from, resource, doFill);
return ((PipeTransportFluids) transport).internalTanks[from.ordinal()].fill(resource, doFill);
}
@Override